Thursday, 27 September 2012

Web Config File Tricks in Asp.net

The Web config File is act as an vital role in asp.net application, because the application setting has been set and integrated in all frameworks



<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
       <directoryBrowse enabled="false" />
       <defaultDocument>
           <files>
               <clear />
               <add value="index.php" />
               <add value="index.html" />
               <add value="Default.aspx" />
               <add value="Default.htm" />
               <add value="Default.asp" />
               <add value="index.asp" />
               <add value="index.aspx" />
               <add value="home.aspx" />
               <add value="index.htm" />
           </files>
       </defaultDocument>
    </system.webServer>
</configuration>

No comments:

Post a Comment