4.8. Summary

The ASP.NET AJAX Library brings familiar aspects of programming with the .NET Framework to JavaScript. You can create namespaces to group functionality. The AJAX Library provides a framework for using object-oriented development patterns from JavaScript. You can define interfaces and classes that implement them. You can extend types and call on the base implementation. The ASP.NET AJAX Library provides a set of exceptions in the Error class that work with the JavaScript Error object and provide a natural way to find and report problems. There is also debug support with verbose error messages to help you find bugs.

The AJAX Library also includes information about the browser object so that you can reliably customize your actions for the user's environment. It also provides classes that assist in debugging. When running with debugging enabled, the ASP.NET AJAX Library validates parameters passed to the framework classes and helps you avoid errors.

The ASP.NET AJAX Library helps you to write JavaScript code in a familiar and intuitive way. Transitioning between Visual Basic or C# and JavaScript is easier. You get a set of base class libraries that function in the browser the same way you see them work on the server. You get help working with strings and data that perform with high performance. The ASP.NET AJAX Library also aids you in localizing your output for the application user.

Fundamentally, the ASP.NET AJAX Library is focused on making JavaScript programming easier. ...

Get Professional ASP.NET 3.5 AJAX 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.