ASMX service - processing multiple request

How does a ASMX service handle multiple concurrent request?

Are there different modes? Does the asmx service get instantiated for each request?

I know they are hosted by IIS.
Who is Participating?
Bob LearnedConnect With a Mentor Commented:
I don't believe that there is an easy answer to that question.

ASP.NET Thread Usage on IIS 7.5, IIS 7.0, and IIS 6.0
Bob LearnedCommented:
Some "light" reading:

Chapter 10 — Improving Web Services Performance

The server-side infrastructure is based on ASP.NET and uses XML serialization. When the Web server processes an HTTP request for a Web service, Internet Information Services (IIS) maps the requested extension (.asmx) to the ASP.NET Internet server application programming interface (ISAPI) extension (Aspnet_isapi.dll). The ASP.NET ISAPI extension then forwards the request to the ASP.NET worker process, where it enters the request processing pipeline, which is controlled by the HttpRuntime object
Paul MacDonaldDirector, Information SystemsCommented:
It's not clear to me exactly what you're asking, but each connection is a separate session (just like connecting to a web site).  The service should only run in one instance, but parse the separate sessions.
metro156Author Commented:
I guess what I am saying - does a session equal a copy of the service in memory that is utilized by a particular user. Or is it that  a Session contains data only and the process of the request is done through a thread  accessing  that one instance of the service in memory?
metro156Author Commented:
I am going to give credit. I believe you're right there is no easy answer. I am just curious how IIS  handles the actual request while concurrent request are coming in.
I like to know the details so I can better apply my knowledge.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.