[How Do I:] Implement the Persistent Communications Pattern with the UpdatePanel?

by Joe Stagner

In a traditional Web site the browser and the server do not maintain an ongoing communication, but communicate only in response to the user performing an action. In a modern Web site where the page becomes an application container, it can be advantageous for the browser and the server to maintain an ongoing communication so that page updates can occur without the user performing an action. This is known as the Persistent Communications Pattern for AJAX. ASP.NET AJAX provides two main ways for Web developers to implement the Persistent Communications Pattern. This video demonstrates the simple way, which is to use the ASP.NET AJAX UpdatePanel as the basis of the implementation. In a later video we will learn how to implement the same pattern without the use of the ASP.NET AJAX UpdatePanel.

▶ Watch video (12 minutes)