How to change starting page, using Razor Pages in .NET Core 2?

后端 未结 4 1437
我寻月下人不归
我寻月下人不归 2020-12-20 13:37

I wanted to set my starting page to /Members/Index.

When I was using MVC, I configured it as following:

app.UseMvc(routes =>
            {
              


        
4条回答
  •  不思量自难忘°
    2020-12-20 14:06

    For testing purposes you can change the start page by going to the Properties window for the web project and select the Debug tab. On the 'Launch browser' line enter the starting path

提交回复
热议问题