Sunday, 12 January 2014

MVC 5 - How to change default startup page (Controller)

Watch this example on Youtube


You can change default controller(page) in App_Start/RouteConfig.cs








Modify controller value, change it to the controller that should be your startup page       
defaults: new { controller = "Test", action = "TestPage", id = UrlParameter.Optional }

For more details, please watch video above.



 

No comments:

Post a Comment