No support for MapPageRoute

I am trying to test some routes in an MVC 4 application, and in particular I have this route: routes.MapPageRoute("/", "/Default.aspx"); So I want to check that the root page is mapped to specific ...

Id #8 | Release: None | Updated: Jan 16, 2013 at 9:58 AM by Quango | Created: Jan 16, 2013 at 9:58 AM by Quango

MVC4 bug in Area registration

[TestClass] public class AreaTests : RouteTestsBase { private RouteTester<AdminAreaRegistration> tester; [TestInitialize] public void PrepareRoutes() { tester = new RouteTe...

Id #7 | Release: None | Updated: Oct 18, 2012 at 1:21 PM by manzo | Created: Sep 20, 2012 at 12:16 PM by Piquet

No support for object state for AreaRegistration creation.

When registering areas in MVC you can pass in an optional state object. AreaRegistration.RegisterAllAreas(object state); It would be great if the route tester supported this state object.

Id #6 | Release: None | Updated: Sep 20, 2012 at 12:09 PM by Piquet | Created: Aug 29, 2012 at 9:39 PM by knunery

RegisterRoutes method has been removed in MVC 4

Easy workaround in global: protected void Application_Start() { AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); Regi...

Id #5 | Release: None | Updated: Mar 19, 2016 at 1:12 PM by bartvanderwal | Created: Aug 3, 2012 at 12:20 PM by LeePaulSmith

  • 1-4 of 4 Work Items
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Work Items