What for System.Web.Extensions?

By default ASP.NET 3.5 Web App project has references to assemblies System.Data.DataSetExtensions.dll and System.Web.Extensions.dll.With System.Data.DataSetExtensions everything is clear for me, it contains such useful extension methods as DataTable.AsEnumerable() and DataTable.CopyToDataTable().And what about System.Web.Extensions.dll? What useful members could you mention to use?……………

via Asp.Net Developed Tutorials » Search Results » ajax:

What for System.Web.Extensions?

By default ASP.NET 3.5 Web App project has references to assemblies System.Data.DataSetExtensions.dll and System.Web.Extensions.dll.
With System.Data.DataSetExtensions everything is clear for me, it contains such useful extension methods as DataTable.AsEnumerable() and DataTable.CopyToDataTable().
And what about System.Web.Extensions.dll? What useful members could you mention to use?
………………………………….

System.Web.Extensions is not about extension methods like System.Data.DataSetExtensions, it contains the ASP.NET AJAX Framework.
………………………………….

System.Web.Extensions contains all the classes and support classes for ASP.NET AJAX controls. It also includes the classes for JSON serialization and pretty much anything else that involves communication with the ASP.NET runtime from JavaScript (and vice versa).
………………………………….

From this page
The system.web.extensions element enables you to configure ASP.NET applications that can be used by AJAX-enabled clients, Windows Communication Foundation (WCF) clients (SOAP clients), and .NET Framework clients. The configuration settings include the following:
Enabling ASP.NET application services through the authenticationService, roleService, and profileService elements.
Configuring the script handler through the enableCompression and enableCaching attributes of the scriptResourceHandler element.
Configuring JSON serialization through the jsonSerialization element.

………………………………….

System.Web.Extensions.dll contains all the ASP.NET Ajax goodness such as the UpdatePanel control.

For more info: What for System.Web.Extensions?

Asp.Net Developed Tutorials » Search Results » ajax

What for System.Web.Extensions?

Share this post:

Related Posts

Leave a Comment