Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Achingly slow startup times with RC1

$
0
0

I'm finding incredibly slow start up times when booting our ASP.NET 5 / RC1 projects - both from Visual Studio (using Kestrel directly - the "command prompt" window opens for the DNX process and it takes around 30 seconds from then until the web page is available) and, much more worryingly, from within IIS where it can take up to a minute for the first request after an app pool recycle or code deploy for the web site to be available. It was slow on beta7 and beta8 but since the upgrade to RC1 it's got much slower still.

I don't think we're doing anything too exotic in our startup.cs code, so I guess my main question is "is this normal"? The VS startup is a pain but I can live with it, however the slow startup when deployed to live IIS after publishing is very problematic.

The only item in ConfigureServices that isn't simple config is services.AddMvc, and the only items in Configure are UseIISPlatformHandler, a UseExceptionHandler call with a simple custom exception handler, UseJwtBearerAuthentication, UseCookieAuthentication, UseStaticFiles and UseMvc - none of these seem like they should be exotic or slow to boot.

Anyone having similar issues? Any tips for where I should start looking to debug where this slow performance is coming in? It looks like the vast majority of the time is before anything gets logged to the console / log files, but that's as much as I've been able to discern so far!

Thanks in advance for any tips!


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>