Overriding the default Route in MVC

113 views Asked by At

Is there any way to override the default routing(~/home/index) without changing anything RouteConfig.cs, that's upon ctrl+F5, the page has to open the route we want.

1

There are 1 answers

1
MrMoeinM On
  1. Right click on your project
  2. Select Properties
  3. Select Web
  4. Check Start Url
  5. Enter Url you want to open when you press ctrl+f5

How to change default url on project startup