SHARE
TWEET

MVC ServiceRoute variant That doesn't mess w/ Url.Action

a guest Jun 27th, 2011 517 Never
  1.         class AppServiceRoute : ServiceRoute
  2.         {
  3.             public AppServiceRoute(string routePrefix, ServiceHostFactoryBase serviceHostFactory, Type serviceType)
  4.                 : base(routePrefix, serviceHostFactory, serviceType)
  5.             {
  6.             }
  7.  
  8.             public override VirtualPathData GetVirtualPath(RequestContext requestContext, RouteValueDictionary values)
  9.             {
  10.                 return null;
  11.             }
  12.         }
RAW Paste Data
Top