Click to Rate and Give Feedback
MSDN
MSDN Library
Application Blocks
 Asynchronous Invocation Application...
Prescriptive Architecture
Asynchronous Invocation Application Block for .NET
 

Patterns and Practices home

Related Links

patterns and practices Developer Center

Jonathan Wanagel, Rajat Kumar, William Loeffler
Microsoft Corporation

June 2003

The patterns & practices team has decided to archive this content to allow us to streamline our latest content offerings on our main site and keep it focused on the newest, most relevant content. However, we will continue to make this content available because it is still of interest to some of our users.
We offer this content as-is, without warranty that it is still technically accurate as some of the material is undoubtedly outdated. Note that the content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Summary: This page provides an overview of the Asynchronous Invocation Application Block, which is a Microsoft® .NET Framework class library that allows you to increase the performance of your Web application and enhance the end users' experience.

Downloads

A Windows Installer file that contains the signed Asynchronous Invocation Application Block assemblies and documentation is available. Download the Asynchronous Invocation Application Block in the Microsoft.com Download Center.

The installation creates a Microsoft Application Blocks for .NET submenu on your Programs menu. On the Microsoft Application Blocks for .NET submenu, there is an Asynchronous Framework submenu that includes options to launch the Asynchronous Invocation Application Block Visual Studio® .NET solution and the documentation.

A Quick Start Sample that demonstrates asynchronous techniques is included with the Asynchronous Invocation Application Block.

Who Should Read This Guide

This guide is written for:

  • Visual Basic® .NET developers
  • Visual C#™ developers
  • Anyone interested in .NET Framework development

The Problem with Synchronous Communications

A distributed application may require information from multiple service providers. If the entire process is performed synchronously, a client must wait until every service provider is contacted as well as any connection or service delays. Synchronous communication makes the user wait for the total time it takes for each service provider to process requests.

The Asynchronous framework solves this performance issue by providing a mechanism for requests to be processed asynchronously, which increases server efficiency and enhances the end users' experience.

How the Asynchronous Invocation Application Block Works

A Web client makes a request for information from multiple service providers by submitting a request to the Asynchronous framework. The Asynchronous framework dispatches Service Agents to communicate with each service provider. As the requested information becomes available, it is sent to the client for display. In this manner, a partially completed page is ready for viewing even before all requested information becomes available. The end user perceives a faster application, and server resources are freed much more quickly than in a synchronous scenario.

Use with Other Application Blocks

The Asynchronous Invocation Application Block incorporates the Exception Management Application Block for exception handling, but you can use your own exception handling techniques if you prefer. The Data Application Block is also included to minimize the data access code you need to write.

The Asynchronous Invocation Application Block can be used alone as a class library, or you can include the source code in your project and configure it to your own needs. It is also designed to work in concert with the Caching Application Block and the Aggregation Application Block.

Feedback and Support

This Application Block for .NET is based on reviews of successful .NET applications. It is provided as source code that you can use "as-is" or customized for your application. Support is available through Microsoft Product Support for a fee.

Collaborators

Many thanks to the following contributors who provided invaluable assistance: Ron Jacobs, Lars Laakes, Sandy Khaund, Mohammad Al-Sabt, Carlos Farre (Solutions IQ), Chakravarthy Ragavan Shrivathsan (Satyam Computer Services), Vimal Kocherla (Satyam Computer Services), Chris Sfanos, Mark McGee (Write Stuff) and Tina Burden (Entirenet).

Patterns and Practices home

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker