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.
Asked
Active
Viewed 104 times
1 Answers
0
- Right click on your project
- Select Properties
- Select Web
- Check Start Url
- Enter Url you want to open when you press ctrl+f5

MrMoeinM
- 2,080
- 1
- 11
- 16
-
You're welcome. I didn't understand. What do you want to open with code? Properties window? By following steps above you change default url when your project starts only in debugging mode. It's useful when you are working on a page and you need to restart project several times. This way you don't need to change url every time you start project. – MrMoeinM Jun 25 '21 at 08:17