Skip to main content

New Feature of ASP.net 2.0 [Asynchronous Pages]

Microsoft's release of .Net Framework 2.0 is become big hit in the market. Definitely there is a reason behind this..
There are lots of improvements and cool features made available in the the latest version of .Net Framework 2.0 (the latest version of .Net Framework is 3.5) compared to its earlier version 1.x. Few of the cool features such as master pages, themes, profiles, new improved grid view,login controls etc etc.. but one of the nice feature which Microsoft has released with .Net Framework 2.0 is "Asynchronous Pages".
In this topic I am mainly going to talk about this "Asynchronous Pages" in .Net Framework 2.0.

Before I proceed I want to discuss bit about what is "Asynchronous" and "Synchronous" process.

In simple term Synchronous waits for the response whereas Asynchronous does not wait for the response..

For example if you are sending a request using synchronous .aspx page for querying a remote database,thread for the request will be alive until and unless remote database send back response back to the requesting page. Since .net framework allows limited thread pool , this can slow down the performance of the application drastically and all other requests to the server will be queued up.


But in case of Asynchronous Pages in .net framework 2.0 thread will return to the thread pool once it sends request to the server and once servern sends request back it takes another thread from the pool and finishes request.

Comments

Popular posts from this blog

Team Foundation Server

Team Foundation Server Being in a software industry and specially those who are closely working with Microsoft technology no need to explain what is Team Foundation Sever (TFS). Let me explain in brief what is Team Foundation Server (TFS) and the advantages associated. Team Foundation Server is a source control, project management tool, bug tracking tool, change management, build automation and so on … TFS has number of inbuilt functionalities if used in a proper way leads to a project success. TFS enables organizations to manage applications throughout the IT lifecycle. Source Control Most of the organization uses Visual Source Safe (VSS) as a source control, TFS is an advanced source control which allows user to manage work items in a systematic way, and e.g., TFS administrator can set a policy while performing check-in and check-out operations. Following screen shot shows the policy warning if it’s not been satisfied. TFS can be integrated with Visual Studio;...

Installing Visual Studio 2012 with Update 2 CTP4

  Brian Harry has announced release of Visual Studio 2012 Update 2 CTP4 , this release contains significant improvements compared with other 3 releases and this is the final CTP release.  This weekend I have decided to refresh my environment with this latest Visual Studio 2012 Update 2 CTP4 release. Before I start, let me give some details on what’s new in Visual Studio 2012 Update 2 CTP4. Backup and restore Power Tool Preserve Configuration on Upgrade Servicing in High Availability SQL Environments (SQL Always On) Customizable kanban columns Visual Studio Git Extension You can complete details of new features here , you can download Visual Studio 2012 Update CTP4 from here http://go.microsoft.com/fwlink/?LinkId=273878 . My development environment setup (Note :this is my personal development environment setup and does not guarantee security or other features ) Application Tier : Windows Server 2012 Data Center Build 9200 Build Controller And Agent : Windows Serve...

Visual Studio 2010 and Dot Net Framework 4.0

Visual Studio 2010 and Dot Net Framework 4.0 This is continuation of my series on Dot Net Framework 4.0, Dublin, Visual Studio 2010… On 29th Sep 2008 Microsoft announced release of Visual Studio 2010 and the Framework 4.0, the main aim behind release of these products is to target new trends such as cloud computing , SOA, application life cycle management etc. The Visual Studio Team System 2010 is code named as “ Rosaria ”, complete details about the product is not yet released by the Microsoft, we can expect lots of new information about Visual Studio 2010 and Dot Net Framework 4.0 in coming days. One of the cool features of Visual Studio 2010 is the support for cloud development with Windows Azur tool for Visual Studio 2010. Windows Azur is the new cloud service, Windows Azur allows developer with on demand compute and storage to host web application on the internet through Microsoft data center. (I will explain Windows Azur in my forthcoming blog). There are lots of changes compare...