Course Catalog
Curriculum Guides
Buy Courseware
Technical Library
About Object Innovations
Contact Us

877-558-7246 (toll free)  

4145.  ASP.NET AJAX Using C#

Rev. 4.0


This three-day course provides a practical introduction to developing rich Internet applications using ASP.NET AJAX and C#. Because of the rich support provided by Microsoft’s AJAX tools, an ASP.NET programmer can get up and running in this new environment quickly. This course shows the way. It is current to ASP.NET 4.0 and Visual Studio 2010. The course includes an introduction to the popular JavaScript library jQuery, which is now bundled with ASP.NET AJAX.


The course begins with a discussion of rich Internet applications, which include substantial client-side code, typically JavaScript. Microsoft’s AJAX tools are surveyed, and a simple AJAX application is illustrated. The JavaScript programming language is covered in enough detail to give the student a good working knowledge of writing client scripts. To retrieve and update information on a Web page from client-side code, the programmer needs to use DHTML or the Document Object Model (DOM), which are discussed in the third chapter along with Cascading Style Sheets (CSS) and an introduction to jQuery.


Chapter 4 covers the AJAX Client Library, which simplifies client-side programming with JavaScript extensions, a debugging trace facility, and various API shortcuts. The next chapter covers partial page rendering, which enables part of a page to be updated asynchronously, resulting in an improved user experience. The next chapter covers various techniques for making remote-method calls, resulting in greater efficiency in an AJAX application. The next chapter introduces the AJAX Control Toolkit, which provides many very useful controls enabling sophisticated client-side effects with relatively little programming. The last chapter covers built-in application services, which provides a client-side API to various services on the server, such as authentication and user profiles.


Numerous programming examples and exercises are provided. A case study illustrates a number of features of ASP.NET AJAX working together. The student will receive a complete set of notes and all the programming examples.




·         Gain a thorough understanding of the philosophy and implementation of rich Internet applications

·         Create interactive Web pages using DHTML, JavaScript, Cascading Style Sheets and jQuery

·         Explain the benefits of AJAX in creating non-blocking and interactive Web applications

·         Use ASP.NET AJAX and Visual Studio to easily implement AJAX applications

·         Create visually rich and attractive Web applications with controls in the AJAX Control Toolkit


Course Duration:  3 days


Prerequisites:  A good working knowledge of Web application development using ASP.NET, Visual Studio and C#. The student should have a basic knowledge of HTML. Exposure to JavaScript would be helpful but not required. A basic knowledge of ADO.NET would be helpful for understanding the case study and some of the examples.


1.      Rich Internet Applications and AJAX

Desktop Applications

Web Applications

Rich Client Applications

Using Plug-Ins

Using JavaScript

Asynchronous Communication


Microsoft’s AJAX Technologies

A Simple AJAX Application


2.      Using JavaScript

JavaScript and the Browser

Data Types and Variables

Control Structures






3.      Introduction to jQuery

What Is DHTML?

Document Object Model

Using the DOM

Cascading Style Sheets (CSS)

jQuery Library

jQuery and Visual Studio


CSS Manipulation


Modifying Document Structure

Content Delivery Network (CDN)


4.      ASP.NET AJAX Client Library

Components of Microsoft’s AJAX Support


Client-Side Page Lifecycle

Debugging Support

JavaScript Extensions

Object-Oriented Programming Support

Global API Shortcuts

Embedded JavaScript Resources


5.      Partial Page Rendering

UpdatePanel Control

Update Modes


Using a Timer


Partial Page Update Lifecycle

UpdateProgress Control

Limitations and Performance Issues


6.      Remote Method Calls

Web Service Methods

Handling Errors

Using Context

Page Methods

JSON Serialization

ScriptMethod Attribute


7.      AJAX Control Toolkit

Using ACT Controls in Visual Studio

Extender Controls

Use of Style Sheets

Page Layout Controls

Popup Controls

ACT Controls and Web Services


8.      Application Services

Profile Service

Authentication Service


Appendix A. Learning Resources


System Requirements


The following software is required:

·         A Windows operating system (XP, Vista or Windows 7) with the latest service pack

·         Visual Studio 2010

·         AJAX Control Toolkit, a free download

·         SQL Server 2008 Express Edition (included with Visual Studio)


A good minimal hardware profile for this course would have a 2 GHz or better CPU, 1 GB of RAM, and at least 4 GB of free disk for tools installation and courseware.


See the appropriate course Setup Guide for details.