在web.config中设置首页
<configuration> <system.web> <compilation debug="true" targetFramework="4.5" /> <httpRuntime targetFramework="4.5" /> </system.web> <system.webServer> <defaultDocument> <files> <clear /> <add value="test.aspx" /> </files> </defaultDocument> </system.webServer> </configuration>
时间: 2024-10-24 14:35:41