Hi All
I am writing the WCF rest service in .net 3.5, i want to implement routing in Global.asax file the following code is not working for me can any one help me on this.
protected void Application_Start(object sender, EventArgs e)
{
RouteTable.Routes.Add(new ServiceRoute("api/wopi/files", new WebServiceHostFactory(), typeof(RESTSerivce))); }
It is throwing compilation error but the same code is working fine with .net framework 4.0
please help me on this .