Reputation: 4362
I was wondering if anybody knows if it is possible to setup a traditional web service running in .net 2.0 so that there is: - One instance of the web service - Several clients using this one instance
Is the default behavior that multiple clients will have their own instance of the service or is there only ever one instance? Reading suggests that this has to be configured somehow but not sure how.
Upvotes: 0
Views: 1550
Reputation: 6723
.asmx web services are hosted in IIS and thus, are technically web apps running in the app pool, so the app pool setting will specify the Maximum Number of Worker Processes. See the "Web Garden" section here for a better explanation. This all applies to web services hosted in IIS as well as ASP.NET apps: http://msdn.microsoft.com/en-us/library/aa720391(v=vs.71).aspx
Upvotes: 2