How to set startup page for a specific folder in Asp.Net?

Posted by  Ashish Pandey
 1458  View(s)
Ratings:
Rate this:
How to set startup page for a specific folder in Asp.Net?
  1. Re: How to set startup page for a specific folder in Asp.Net?

    Hi Ashish, 

    Firstyou have to add web.config file in folder and in your web.config add this rule

    <defaultDocument enabled="true">
       <files>     
           <clear/>
           <add value="index.aspx"/>    
       </files>
    </defaultDocument>
      <modules runAllManagedModulesForAllRequests="true"/>

      Modified On Apr-04-2018 06:08:56 AM

Answer