Setting the default page for ASP.NET (Visual Studio) server configuration

前端 未结 8 785
北荒
北荒 2020-12-05 13:38

When I build and run my application I get a directory listing in the browser (also happens for sub folders), and I have to click on Index.aspx. It\'s makin

8条回答
  •  情话喂你
    2020-12-05 14:06

    Go to the project's properties page, select the "Web" tab and on top (in the "Start Action" section), enter the page name in the "Specific Page" box. In your case index.aspx

提交回复
热议问题