Advertisement
Guest User

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

a guest
Jun 27th, 2011
698
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.45 KB | None | 0 0
  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.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement