Hi Nikolay:
In general you will not see a lag from two users hitting the service
at the same time - but this is where you have to look at a specific
application and environment to know what will happen. At some point
there will be a lag (10, 100, 10,000 users) but it depends on the CPU,
the RAM, and the actions of the code.
I'm not sure what you mean by "threaded" - there can be a thread per
request inside of the method. You might need to make your methods
thread-safe however.. In general - if the method uses only local
variables and parameters it is safe. If the method uses any static or
shared members you might need to synchronize threads to prevent
erroneous results. This is another case where you have to look at
specific code to make a 100% yes/no statement.
--
Scott
http://www.OdeToCode.com/blogs/scott/
On Mon, 18 Oct 2004 20:54:05 +0300, "Nikolay Petrov"
<jo******@mail.bg> wrote:
I was wondering is there going to be some lag if two users access the web
service at the same time.
If IIS and and ASP .NET manage this, I don't need to make all my web methods
threaded, right?