Mercurial > silverbladetech
diff SilverlightAsyncRestWcf/SilverlightAsyncRestWcf.Web/Global.asax.cs @ 117:9eadccc3b46c
REST working, next step unit tests
author | stevenh7776 |
---|---|
date | Sun, 27 May 2012 15:06:35 +0100 |
parents | |
children | fa4ba8943048 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SilverlightAsyncRestWcf/SilverlightAsyncRestWcf.Web/Global.asax.cs Sun May 27 15:06:35 2012 +0100 @@ -0,0 +1,16 @@ +using System; +using System.ServiceModel.Activation; +using System.Web; +using System.Web.Routing; +using SilverlightAsyncRestWcf.Services; + +namespace SilverlightAsyncRestWcf.Web +{ + public class Global : HttpApplication + { + protected void Application_Start(object sender, EventArgs e) + { + RouteTable.Routes.Add(new ServiceRoute("", new WebServiceHostFactory(), typeof(CarService))); + } + } +} \ No newline at end of file