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

Total Post:128

Points:898
 1193  View(s)
Ratings:
Rate this:
How to set startup page for a specific folder in Asp.Net?
  1. Post:378

    Points:2694
    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

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!