I am working on a C# MVC project that is set up to run using IIS Express. I am using Rider as my IDE and every time i start the project using the "Run" option it starts up quickly without any issues. However, when starting the project using the "Debug" option the startup is extremely slow 95% of the time - and by extremely slow i mean up to 10 minutes. The build process itself is very quick and I have narrowed down the issue to IIS. I also tried running the project via Visual Studio with the same effect.
Some of the modules that are loaded by IIS load extremely slow - not always the same ones, but the usual culprits are:
FeatureToggle.dll
CsQuery.dll
System.Web.Http.OData.dll
I have read almost every single question relating to slow startups on google with no effect. I have tried reinstalling, changing configuration, clearing cache among others.
The issue has been here since I received the laptop. My co-workers are using the same laptops and have no issues at all.
Any help or suggestions are highly appreciated!