mirror of
https://github.com/farcasclaudiu/myfriendsaround.git
synced 2026-06-29 13:02:05 +03:00
init commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.ServiceModel.Activation;
|
||||
using System.Web;
|
||||
using System.Web.Routing;
|
||||
|
||||
namespace MyFriendsAround.WcfREST
|
||||
{
|
||||
public class Global : HttpApplication
|
||||
{
|
||||
void Application_Start(object sender, EventArgs e)
|
||||
{
|
||||
RegisterRoutes();
|
||||
}
|
||||
|
||||
private void RegisterRoutes()
|
||||
{
|
||||
// Edit the base address of Service1 by replacing the "Service1" string below
|
||||
RouteTable.Routes.Add(new ServiceRoute("Service1", new WebServiceHostFactory(), typeof(Service1)));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user