Book to attend a public course Book a private course Request more information about this course Speak to an instructor
Book to attend a public course Book a private course for your team (from only £895/day!) Request more information about this course Speak to an instructor who teaches this course

Printable versions: HTML PDF

ASP.NET AJAX USING C# (VS 2008)

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. 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. Students then learn about the AJAX Client Library, partial page rendering, remote-method calls, the AJAX Control Toolkit, and built-in application services. This course is current to ASP.NET 3.5 and Visual Studio 2008.

Training Course Duration

3 days

Layout

The training course combines lectures with practical exercises that help the delegates to put what they have learned on the training course into practice.  The exercises specifically build on what has been recently taught and are built up as the training course progresses.

Who it is for

ASP.NET developers who wish to become productive in ASP.NET AJAX.

Training Course 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 and a basic knowledge of ADO.NET would be helpful but are not required.

Training Course Objectives

At the end of this training course, students should be able to:

  • Understand the purpose of AJAX in Web applications
  • Work with JavaScript on the client side in AJAX applications
  • Understand the Document Object Model used within AJAX applications
  • Work with the Microsoft AJAX client library
  • Work with Remote Calls from AJAX clients
  • Use the AJAX Control Tool Kit

Training Course Contents

1 . Rich Internet Applications and AJAX

  • Desktop Applications
  • Web Applications
  • Plug-Ins
  • Client-Side Scripting
  • JavaScript in ASP.NET
  • Dynamic Pages
  • Efficient Page Redraws
  • AJAX
  • Google Maps
  • Netflix
  • ASP.NET AJAX
  • ASP.NET AJAX Control Toolkit
  • An ASP.NET AJAX-Enabled Website

2 . Using JavaScript

  • History and Standards
  • Uses of JavaScript
  • JavaScript in the Browser
  • Embedded JavaScript
  • .js Files
  • JavaScript Language
  • Variables
  • Naming Variables
  • Reserved Words
  • Types
  • Strings
  • Numbers
  • Boolean
  • Operators in JavaScript
  • Logical Operators
  • Bitwise and Assignment Operators
  • Functions
  • Scope
  • Arrays
  • Loops
  • for/in Loops in Arrays
  • Selection Structures
  • Exceptions
  • Error Object
  • Objects in JavaScript
  • Creating Your Own Objects
  • Using Your Objects
  • Dynamically Adding a Method
  • for/in Loops with Objects

3 . DHTML, DOM and CSS

  • What is DHTML ?
  • DHTML Components
  • XHTML
  • Document Object Model
  • Accessing DOM Nodes
  • Manipulating Elements: Methods
  • Manipulating Elements: Properties
  • Creating and Inserting Nodes
  • Removing Nodes
  • DOM Events
  • DOM Event API
  • CSS (Cascading Style Sheets)
  • CSS Syntax
  • Style Sheets
  • Output without the Style Sheet
  • Output with the Style Sheet
  • StyleSheet.css
  • Using the Style Sheet
  • Using a CSS Class

4 . Microsoft AJAX Client Library

  • Microsoft AJAX Components
  • AJAX Client Library
  • ASP.NET AJAX Documentation
  • Using the Client Library
  • ScriptManager Control
  • Embedded JavaScript Files
  • Client Library Namespaces
  • Sys.Debug Tracing
  • AJAX Client Life Cycle Events
  • Enable Script Debugging
  • Extending JavaScript Objects
  • Test Program for Array Extension
  • Test Program Code
  • Array Extensions in Client Library
  • Object-Oriented JavaScript
  • Class
  • Person Class
  • Account Class
  • Test Code
  • Namespaces
  • Inheritance
  • Book Class
  • Initialization
  • Other Functions
  • User Interface
  • Top-Level Function
  • Shortcut Methods
  • Populating a List Box
  • JavaScript in Assemblies
  • Providing a ScriptReference
  • Enhanced AcmeClass Application

5 . Partial Page Rendering

  • Partial Page Rendering
  • UpdatePanel Control
  • AJAX Extensions Controls
  • Controlling Updates
  • Triggers
  • Types of Triggers
  • Server Initiated Updates
  • A Challenge
  • Triggers Again
  • Timer Control
  • PageRequestManager Class
  • Customization Scenarios
  • PageRequestManger Event Handlers
  • UpdateProgress Control
  • Factors Code
  • Canceling the Async Postback
  • Limitations and Performance Issues
  • AcmeBook Database

6 . Remote Method Calls

  • Why Remote Methods
  • Designing Remote Methods
  • A Web Service in an .asmx File
  • Registering AJAX Web Services
  • Calling AJAX Web Services
  • Running the Application
  • Handling Errors
  • Context
  • Modified Web Service
  • Using Context
  • Method Parameter
  • Using Method Parameter
  • Page Methods
  • JavaScript Object Notation
  • JSON Data Types
  • Comparing JSON and SOAP
  • SOAP Serialization
  • ScriptMethod Attribute

7 . AJAX Control Toolkit

  • AJAX Control Toolkit
  • ACT Controls in Visual Studio
  • Hello ACT
  • Intellisense for Properties
  • AjaxControlToolkit.dll
  • Registering AjaxControlToolkit.dll
  • Extender Controls
  • NumericUpDownExtender Control
  • Rating Control
  • Using a Style Sheet
  • MaskedEdit Control
  • MaskedEditValidator Control
  • PasswordStrength Control
  • Page Layout Controls
  • Tab Controls
  • Accordion Control
  • CollapsiblePanel Control
  • CollapsiblePanel Markup
  • Popup Controls
  • Modal Popup Visual Effects
  • ACT Controls and Web Services
  • DynamicPopulate

8 . Application Services

  • Using ASP.NET Application Services
  • Forms Authentication
  • Authorization
  • Built-in Authentication Service
  • ASP.NET Configuration Tool
  • Login Page
  • Members Page
  • Configuration Files
  • JavaScript on Login Page
  • JavaScript on Home Page
  • Profile Properties
  • Using ASP.NET Profile Properties
  • Using Client-Side Profile Service
  • Profile JavaScript Code
  • Storing Profile Information