在web.config文件中设置
<configuration> <system.webServer> <defaultDocument> <files> <!--启动页面的路径--> <add value="Home/Index.html" /> </files> </defaultDocument> </system.webServer> </configuration>
.net 新建项目(纯页面) 设置启动页面
原文:https://www.cnblogs.com/wwr01/p/11990485.html