The primary requirement for my blogging platform is to be able to display pretty printed code. So here goes:
public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( "Default", // Route name "{controller}/{action}", // URL with parameters new {controller = "Home", action = "Index"} // Parameter defaults ); }
No comments:
Post a Comment