Instructor-led training
ASP.NET Ajax Using C# Training in Brownsburg, Indiana
This three-day course provides a practical introduction to developing rich Internet applications using ASP.NET AJAX and C#.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in Brownsburg, Indiana or live online. Dates, delivery format, and course content are arranged around your team's requirements.
This course is not currently scheduled as a public class for individual enrollment.
Request Group TrainingPrerequisites
Course Outline
Rich Internet Applications and AJAX
Desktop Applications
Web Applications
Plug-Ins
Client-Side Scripting
JavaScript Example
Script Code
JavaScript in ASP.NET
Dynamic Pages
Efficient Page Redraws
AJAX
Google Maps
ASP.NET AJAX
ASP.NET Enhancements
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
Variables Example
Reserved Words
Types
Strings
Numbers
Boolean
Operators in JavaScript
Logical Operators
Bitwise and Assignment Operators
Functions
Scope
Output from Scope Example
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
Browser Objects
Accessing DOM Nodes
Using jQuery
Manipulating Elements: Properties
Creating and Inserting Nodes
CSS (Cascading Style Sheets)
CSS Syntax
Style Sheets
Output without the Style Sheet
Output with the Style Sheet
Output with a Different Style Sheet
CSS Class Example
Using a CSS Class
jQuery Library
jQuery and Visual Studio
Selectors
jQuery Wrapper
CSS Manipulation
Adding and Removing Class Name
More about Selectors
Animation
Animation Effects
Modifying the Document Structure
Remove and Append Code
Microsoft Content Delivery Network
Microsoft AJAX Client Library
Microsoft AJAX Components
AJAX Client Library
Using the Client Library
ScriptManager Control
Client Library Namespaces
Sys.Debug Tracing
AJAX Client Life Cycle Events
Enable Script Debugging
TraceConsole
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
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
PageRequestManager Event Handlers
UpdateProgress Control
Factors Code
Canceling the Async Postback
Limitations and Performance Issues
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
Install ACT in Visual Studio
ACT Controls in Visual Studio
Hello ACT
Intellisense for Properties
AjaxControlToolkit.dll
Registering AjaxControlToolkit.dll
ASP.NET AJAX Using C# (VS 10)
Extender Controls
NumericUpDownExtender Control
Rating Control
Using a Style Sheet
MaskedEdit 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
What makes ASP.NET AJAX hard to master
The server-side controls look simple, but a working page depends on three layers: JavaScript in the browser, the Microsoft AJAX client library, and ASP.NET on the server. The syllabus builds these in order, and each layer depends on the one before it.
JavaScript is not C#. The course spends real time on the language itself: types, scope, functions, arrays, exceptions and objects created and extended at runtime. Developers who assume it behaves like C# get caught by function scope, loose typing and objects that can gain methods dynamically. The client library then adds Object-Oriented JavaScript: classes, namespaces and inheritance built on top of the language, not provided by it.
The DOM and jQuery. The sections on DHTML, DOM nodes, CSS and jQuery selectors, class manipulation, animation and node insertion explain what the AJAX controls do in the browser. Without them, debugging a misbehaving page is guesswork.
Partial rendering hides a full request. A common misconception is that an UpdatePanel sends only a small piece of data. It still runs the page life cycle on the server and returns the updated panel regions. The topics on triggers, the Timer control, PageRequestManager events, canceling an async postback and the Limitations and Performance Issues topic cover where that cost matters.
Remote calls versus partial rendering. The course contrasts them: .asmx services registered for AJAX, page methods, the ScriptMethod attribute, and JSON compared with SOAP serialization. Choosing between the two approaches is a design decision, not a syntax one.
The Control Toolkit extenders and the client-side use of ASP.NET authentication and profile services come last because they assume all of the above.
Who it suits and what to take around it
This is a general-level, three-day course for ASP.NET developers who already build web applications with C# and Visual Studio. Basic HTML is expected. JavaScript experience helps but is not required, since the course teaches the language from variables onward. Some ADO.NET familiarity helps with the case study and a few examples.
The material is built on ASP.NET 4.0 and Visual Studio 2010. .NET Framework 4.0 is out of support, and Visual Studio 2010 support ended in July 2020. The course therefore fits teams that maintain, support or migrate existing ASP.NET Web Forms applications that use ScriptManager, UpdatePanel and the Control Toolkit. Organizations on newer releases can ask about a tailored private training proposal.
For a next step, the services in this course are .asmx and page methods returning JSON. ASP.NET Web API Essentials Using C# shows how HTTP services are built with a different programming model, which helps if you plan to move browser-to-server calls off .asmx. Related options are listed in the Ajax courses and learning guide.
Illustrative scenarios
The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.
- Slow data-entry form. A team might have a Web Forms page that reloads fully on every selection. Wrapping regions in an UpdatePanel, choosing triggers carefully and adding an UpdateProgress indicator addresses this. The performance-limitations material helps decide when that is not enough and a direct service call is better.
- Lookup that needs only data. For example, a page that fills a list box from a server-side lookup could call an AJAX-registered web service or page method, receive JSON, and populate the list with client-side script. This is where the JSON, ScriptMethod and error-handling topics apply.
- Maintaining an older intranet application. A team inheriting a site that uses Control Toolkit extenders (masked edit, password strength, tabs, accordion, modal popups) and the client-side profile service could use the course to understand how those pieces fit and how to debug them with Sys.Debug tracing.
AI coding assistants for these topics
Where they help. AI coding assistants are useful for plain JavaScript and jQuery work: selectors, class toggling, node insertion and simple animation. They can also draft a CSS rule or explain an unfamiliar script block quickly.
Where they fail. Most published examples use newer patterns, so suggestions often drift away from the ASP.NET AJAX model taught here. Expect client-side fetch code in place of ScriptManager service references, or server code written for a different framework. Assistants may also invent Control Toolkit properties or mix up PageRequestManager event names. They tend to miss the cost of partial rendering, such as unnecessary updates from a trigger or a Timer. Advice on object-oriented JavaScript can also mix the client library's class and namespace pattern with other styles.
How to verify.
- Confirm every generated API exists in the framework and toolkit version your project targets, and compile and run it.
- Use the browser's developer tools to inspect the network request and confirm what an async postback actually returns.
- Check JSON payloads against what the service method should serialize.
- Add Sys.Debug tracing and script debugging to confirm the order of client life cycle events.
- Test error paths and canceled requests, which generated code often skips.
Frequently asked questions
What level is this course?
It is a general-level, three-day course for developers who already build ASP.NET applications in C#. It teaches JavaScript, the DOM and jQuery from the basics, then moves to the ASP.NET AJAX server and client features.
What do I need to know beforehand?
A good working knowledge of ASP.NET web development, Visual Studio and C#, plus basic HTML. JavaScript exposure is helpful but not required. Basic ADO.NET knowledge helps with the case study and some examples.
What does the course cover?
It covers JavaScript and object-oriented JavaScript, the DOM and CSS, jQuery, the Microsoft AJAX client library, partial page rendering with UpdatePanel, Timer and PageRequestManager, remote calls through .asmx services and page methods with JSON, the AJAX Control Toolkit, and ASP.NET authentication and profile services used from client script.
Which versions does the course use?
It is built on ASP.NET 4.0 and Visual Studio 2010. .NET Framework 4.0 is out of support and Visual Studio 2010 support ended in July 2020, so the course suits teams maintaining or migrating existing applications on those versions.
Can the course be delivered privately and customized?
Yes. HSG delivers private training onsite or live online, and content can be tailored, including to the versions your organization uses. You can request a proposal through the training proposal link on this page.
Training locations
ASP.NET Ajax Using C# training across the U.S. and beyond.
We provide private ASP.NET Ajax Using C# training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all ASP.NET Ajax Using C# training locations
Train your team with HSG
Private, instructor-led training customized for your organization.
- Onsite or live online delivery
- Customized curriculum
- For a single employee or an entire team
- Flexible scheduling
- Experienced instructors
Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com
Ready to train your team?
Let's customize this training for your organization.
Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.