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.
Lawrence AverySystem DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
Some "light" reading:

Chapter 10 — Improving Web Services Performance
http://msdn.microsoft.com/en-us/library/ff647786.aspx

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
0
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.
0
Lawrence AverySystem DeveloperAuthor 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?
0
Bob LearnedCommented:
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
http://blogs.msdn.com/b/tmarq/archive/2007/07/21/asp-net-thread-usage-on-iis-7-0-and-6-0.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Lawrence AverySystem DeveloperAuthor 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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.