Handy things to know
It's important for us to understand that there are fundamental architecture differences between ASP.NET and ASP.NET Core. A few of the important ones are listed here:
- An important difference between ASP.NET and ASP.NET Core is that ASP.NET Core doesn't have a request queue, unlike ASP.NET. The
RequestQueue
class which resides in theSystem.Web
namespace is designed to prevent thread pool starvation in ASP.NET. This no longer exists in ASP.NET Core, so as you can rightly guess, there can be thread pool starvation if we do not write proper code. Just so that we are on the same page, starvation describes a situation where a thread is unable to gain regular access to shared resources and is unable to make progress. This happens when shared resources are made unavailable for long periods by greedy long running threads. For example, suppose an object provides a synchronized method that often takes a long time to return. If one thread invokes this method frequently, other threads...