Thread management in asp.net core / kestrel
I'm troubleshooting performance / scalability issues with an asp.net app we've migrated to asp.net core 2.0. Our app is hosted on azure as an app service, and is falling over far too easily with any moderate traffic. One thing that's puzzling me is how multiple concurrent requests are handled. From what I've read here , Kestrel uses multiple event loops to handle your requests. But the actual user code is handled on the .net thread pool ( that's from here ). So, as an experiment - I've created a new asp.net core 2.0 MVC app, and added a rather nasty action method: [AllowAnonymous] public