Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Global : System.Web.HttpApplication
- {
- protected void Application_Start(object sender, EventArgs e)
- {
- RouteTable.Routes.Add(new ServiceRoute("ServiceTest", new ServiceHostFactory(), typeof(IServiceTest)));
- }
- }
- public class Intializer
- {
- public static void AppInitialize()
- {
- // This will get called on startup
- RouteTable.Routes.Add(new ServiceRoute("ServiceTest", new ServiceHostFactory(), typeof(IServiceTest)));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement