Slow startup with IIS Express

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" />

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)