O'Reilly logo

Visual Studio 2012 and .NET 4.5 Expert Development Cookbook by Abhishek Sur

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with task-based asynchronous HttpHandlers and HttpModules

The introduction to async in .NET 4.5 has opened many alternatives. ASP.NET not being an exception to this has introduced new ways of writing async operations within it. The asynchronous HttpHandlers and HttpModules classes are not new to the system, but because of task-based asynchrony available in the system, the use of asynchronous handlers and modules becomes more relevant and useful. We know tasks in async do not employ a new thread most often. It uses SynchronizationContext to switch between an application end thread with devices which include I/O, network, and so on. Now if you are dealing with such an operation, you cannot block a thread that has been dedicated for the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required