How to speedup the startup of IIS Express in VS2019?

Viewed 98

Is there anyway to somehow speedup my IIS Express when debugging/starting my application on Visual Studio Community Edition 2019?

Most of the cases startup happens after a couple of minutes and sometimes more, and after that I also have to wait another minute to let my application loads in the browser.

1 Answers

I'll get heat for this, but a major part of the problem is that IIS Express is just slow. It's super frustrating, since even on a brand new, clean project it can take a painfully long time to start up. Faster hardware will help a little, but that isn't always an option.

You can start without debugging if all you need is the server. If things are still painfully slow, I've had some luck deleting the .vs folder in the project and restarting Visual Studio.

Related