Tag Archives: Odata

ODATA WCF Data Services Friendly URLS using Routing

Posted on

When you creating your first OData WCF Data service common tasks is to give a friendly URL instead of using filename.svc as entry point.You can archive it with URL routing feature in ASP.NET MVC.Just modify your Global.asax.cs route registration block to include following lines. public static void RegisterRoutes(RouteCollection routes) { routes.Clear(); var factory = new   …Continue Reading

Writing your first Odata service and debugging problems. UseVerboseErrors, DataServiceKey,IncludeExceptionDetailInFaults

Posted on

Today I wanted to created simple out of a box Odata service using WCF Dataservice. My entry page was http://www.odata.org/ I watched couple of tutorials how to add service to mvc project. very simple and straight forward, but I failed getting message  “ An error occurred while processing this request. ”. While trying to debug   …Continue Reading