September 19, 2013

set default page in asp.net 4.0 in web.config file

To set default page in asp.net 4.0 in web.config file you can refer code below.

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

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.