Course Title: ASP.NET AJAX Using C#
Course #: ASP12I
Duration: 3 days
Overview:This intensive, hands-on three-day course provides a practical introduction to developing rich Internet applications using ASP.NET AJAX, C#, and Visual Studio 2005. Students will first learn foundational topics, such as JavaScript, DTHML, the Document Object Model (DOM) and Cascading Style Sheets (CSS). Then, the course covers the various components of Microsoft's AJAX support in depth, including ASP.NET AJAX Extensions, the AJAX Client Library, and the AJAX Control Toolkit.
Topics:Rich Internet Applications and AJAX
- Desktop Applications
- Web Applications
- Plug-Ins
- Client-Side Scripting
- Script Code
- JavaScript in ASP.NET
- Dynamic Pages
- Efficient Page Redraws
- AJAX
- Google Maps
- Netflix
- Creating the Proxy
- Making the Asynchronous Call
- Callback Function
- Server Code
- ASP.NET AJAX
- ASP.NET 2.0 AJAX Extensions 1.0
- ASP.NET AJAX Control Toolkit
- An ASP.NET AJAX-Enabled Website
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
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
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
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
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
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
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
Audience: ASP.NET developers who wish to become productive in ASP.NET AJAX.
Prerequisites: A good working knowledge of Web application development using ASP.NET 2.0, Visual Studio 2005, 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.