Home > Code > ASP.NET > How to configure default page in asp.net web.config file?

How to configure default page in asp.net web.config file?

by Adhithvaibhav   on May 26, 2016   Category: ASP.NET   |  Views: 958    |  Points: 25   |  Starter 



Below is the settings to set the default page in web.config file.

<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="Login.aspx" />
</files>
</defaultDocument>
</system.webServer>




Post Code  |  Code Snippet Home

Recent Posts

User Responses


No response found, be the first to review this code snippet.

Submit feedback about this code snippet

Please sign in to post feedback

Latest Posts