9Asynchrony

AT FIRST GLANCE, it almost seems unnecessary to discuss asynchrony in building Web applications with ASP.NET. One of the key advantages of building applications that execute in the context of a Web server is that the application is intrinsically asynchronous, without any extra effort on your part. For each page you write, you will undoubtedly have multiple concurrent users accessing that page once it is deployed. ASP.NET is built to handle as many concurrent requests as possible for any given application, and it manages the details of allocating and pooling threads for servicing requests. With each request, ASP.NET creates a fresh instance of the target page class, so unless you are dealing with globally or statically scoped data, ...

Get Essential ASP.NET 2.0 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.