ASP.NET MVC Default URL View

后端 未结 4 1934
孤独总比滥情好
孤独总比滥情好 2020-12-15 23:06

I\'m trying to set the Default URL of my MVC application to a view within an area of my application. The area is called \"Common\", the controller \"

4条回答
  •  难免孤独
    2020-12-15 23:26

    What you're doing seems correct. If I had to guess I would say this is happening due to the way you are running your website. In Visual Studio, if you have a specific view selected when you hit F5 that view will be the starting Url - try selecting the Project and then hitting F5?

提交回复
热议问题