Created
May 30, 2014 16:02
-
-
Save christophermina/fa470d5ac8f59faab283 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Global : System.Web.HttpApplication | |
{ | |
private static MSLogger log = MSLogger.GetLogger(typeof(Global)); | |
public Global() | |
{ | |
} | |
void Application_Start(object sender, EventArgs e) | |
{ | |
RouteTable.Routes.Add(new ServiceRoute("api/1.0/authentication", new CustomWebServiceHostFactory(), typeof(AuthenticationService))); | |
RouteTable.Routes.Add(new ServiceRoute("api/1.0/account", new CustomWebServiceHostFactory(), typeof(AccountService))); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment