Deploying the Runtime with ASP.NET Server Controls
In a pure AJAX application architecture, server-based controls are avoided in favor of using a pure client runtime. The one server control you do use, however, is the ScriptManager, which is used to deploy the client runtime to the page. The ScriptManager control also performs a small bit of script injection to specify the authentication status of users when you use it with application services, a capability that I’ll discuss in the Chapter 6. Although you can include the AJAX library’s JavaScript files manually, you’ll generally gain better results by letting ASP.NET handle script registration through this simple control.
Only one instance of the ScriptManager control can be included on a page. ...
Get Developing Service-Oriented AJAX Applications on the Microsoft® Platform now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.