Slow startup with IIS Express
asp.net-mvc, iis-express
Solution
I found significant improvement after disabling logging.
Locate the IIS config for your project or machine, typically found in:
- `%userprofile%\documents\iisexpress\config\applicationhost.config`
- `.\.vs\config\applicationhost.config`
- VS2019: `$(solutionDir)\.vs\{projectName}\config\applicationhost.config`
And comment out or delete the following two nodes (found somewhere in the document)
<add name="HttpLoggingModule" image="%IIS_BIN%\loghttp.dll" />
<add name="HttpLoggingModule" lockItem="true" />
Problem
I have a problem with my MVC application and startup. Every time I make a change and one the app its take a long time to start up. I have about 100 lines with ''iisexpress.exe' (CLR v4.0.30319:' Do I have to start iisexpress every time I run my application?