Cassini (Visual Studio development web server) by default enables directory browsing, how can I enable directory browsing on IIS Express by default? (I don't want to have a separate configuration for each project I have?
Go to Web.config
file of your project.
Add the below two tags in <system.webServer>
tag in web.config
<directoryBrowse enabled="true" />
<modules runAllManagedModulesForAllRequests="true" />