annotate SilverlightAsyncRestWcf/SilverlightAsyncRestWcf.Web/Global.asax.cs @ 121:8f94475d3146 tip

final code
author stevenh7776
date Thu, 31 May 2012 15:35:26 +0100
parents fa4ba8943048
children
rev   line source
117
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
1 using System;
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
2 using System.ServiceModel.Activation;
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
3 using System.Web;
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
4 using System.Web.Routing;
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
5 using SilverlightAsyncRestWcf.Services;
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
6
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
7 namespace SilverlightAsyncRestWcf.Web
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
8 {
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
9 public class Global : HttpApplication
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
10 {
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
11 protected void Application_Start(object sender, EventArgs e)
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
12 {
118
fa4ba8943048 final version
stevenh7776
parents: 117
diff changeset
13 RouteTable.Routes.Add(new ServiceRoute("services", new WebServiceHostFactory(), typeof(CarService)));
117
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
14 }
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
15 }
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
16 }