Skip to content

Instantly share code, notes, and snippets.

@christophermina
Created May 30, 2014 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christophermina/fa470d5ac8f59faab283 to your computer and use it in GitHub Desktop.
Save christophermina/fa470d5ac8f59faab283 to your computer and use it in GitHub Desktop.
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