Is it possible to consider that two clients accessing the same web service method are simultaneously two threads (with all the problems associated with this)?Is this the same for methods in an asp.net web application?
It depends. See My answer to Why are these asynchronous RIA service calls made sequentially on a web server? . It is controlled by two properties ServiceBehaviourAttribute, InstanceContextModeand ConcurrencyMode.
ServiceBehaviourAttribute
InstanceContextMode
ConcurrencyMode
- asp.net , ( - ) , , ( ), .
static , static, . (, ).
static
, , .
If you are talking about WCF services, the behavior depends on how you configure your service. For more information, you can read this article on MSDN and the ServiceBehaviorAttribute.InstanceContextMode Property
Source: https://habr.com/ru/post/1794369/More articles:Cannot find work in Git branch after checking another branch - githttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1794365/are-there-any-w3c-recomendations-to-add-a-local-shared-object-flash-type-system-to-javascript&usg=ALkJrhiRuRBlfXg2cXUyUhDkhBVIBdME1AHow to send MailMessages using multiple threads? - multithreadingDisplay synced contacts on HTC Sense - androidDo I need to remove the Java runtime before installing the JDK? - javaGoogle App Engine - how to prevent password infection - google-app-enginePython: a different constructor trace in a derived class - pythonWhy are these asynchronous RIA Service calls made sequentially on the web server? - c #Initial activity on the main screen - androidResizing an image using OpenGL - javaAll Articles