More in this section

Forums / Developing with Sitefinity / How to register/use MVC Areas with 5.x

How to register/use MVC Areas with 5.x

1 posts, 0 answered
  1. Dan Sorensen
    Dan Sorensen avatar
    256 posts
    13 Aug 2010
    28 Oct 2012
    Link to this post
    How do you register an MVC 'area' with Sitefinity 5.1+?

    This useful blog post gets you part way there, but since the area is not registered, it passes in a full path to the view, rather than simply return View();

       return View("../../Areas/Demo/Views/Demo/Index");

    Note that my project does not include a global.asax by default. Where are the MVC routes located by default in Sitefinity 5.1+? Do I need to add a global.asax?

1 posts, 0 answered