Mercurial > silverbladetech
annotate 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 |
rev | line source |
---|---|
117 | 1 using System; |
2 using System.ServiceModel.Activation; | |
3 using System.Web; | |
4 using System.Web.Routing; | |
5 using SilverlightAsyncRestWcf.Services; | |
6 | |
7 namespace SilverlightAsyncRestWcf.Web | |
8 { | |
9 public class Global : HttpApplication | |
10 { | |
11 protected void Application_Start(object sender, EventArgs e) | |
12 { | |
13 RouteTable.Routes.Add(new ServiceRoute("", new WebServiceHostFactory(), typeof(CarService))); | |
14 } | |
15 } | |
16 } |