Answer the question
In order to leave comments, you need to log in
How does an ASP.NET application deal with multiple requests from multiple users?
Good day. Recently I started to delve into ASP.NET and everything connected with it. I read several articles. I "felt" the project, which is deployed and works and is being sold. I get into everything a little. But I did not find an answer to one question, except for a brief explanation. Here is an application deployed via IIS. From two browsers two users throw a request. The application creates its own thread for each, right? I'm interested to hear an answer or get a link to a material that describes in more or less detail how the application works with requests from several users. How static and non-static methods behave, etc. Or is everything similar to a non-Web application? Is a method available to each thread for parallel execution?
Answer the question
In order to leave comments, you need to log in
This is exactly for ASP .NET
https://docs.microsoft.com/en-us/previous-versions...
https://docs.microsoft.com/en-us/previous-versions...
Actually no . IIS has a pool of threads, respectively, and a thread is selected from it for servicing.
For net core, the model has changed a bit https://www.c-sharpcorner.com/article/asp-net-core...
https://docs.microsoft.com/ru-ru/aspnet/core/host-.. .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question