Where can the IIS Express configuration / metabase file be found?
Visual-studio – Where is the IIS Express configuration / metabase file found
iis-expressvisual studio
Related Topic
- C# – How to enable external request in IIS Express
- Using Custom Domains With IIS Express
- Visual-studio – IIS Express Windows Authentication
- Visual-studio – Creating virtual directories in IIS express
- Add MIME mapping in web.config for IIS Express
- Asp.net-mvc – Visual Studio debugging/loading very slow
- Visual-studio – Unable to launch the IIS Express Web server
- Visual-studio – Error message “No exports were found that match the constraint contract name”
Best Answer
The configuration file is called applicationhost.config. It's stored here:
My Documents > IIS Express > config
usually, but not always, one of these paths will work
Update for VS2019
If you're using Visual Studio 2019+ check this path:
Update for VS2015 (credit: @Talon)
If you're using Visual Studio 2015-2017 check this path:
In Visual Studio 2015+ you can also configure which applicationhost.config file is used by altering the
<UseGlobalApplicationHostFile>true|false</UseGlobalApplicationHostFile>
setting in the project file (eg: MyProject.csproj). (source: MSDN forum)