view SilverlightAsyncRestWcf/SilverlightAsyncRestWcf.Web/Global.asax.cs @ 118:fa4ba8943048

final version
author stevenh7776
date Sun, 27 May 2012 19:53:23 +0100
parents 9eadccc3b46c
children
line wrap: on
line source

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("services", new WebServiceHostFactory(), typeof(CarService)));
        }
    }
}