system.web.extensions 項目 (ASP.NET 設定結構描述)

指定 ASP.NET 延伸模組的組態區段之根項目,且內含設定 ASP.NET 服務並控制其行為的項目。

<system.web.extensions>
  <scripting>... </scripting>
</system.web.extensions>

屬性和項目

下列章節會說明屬性、子項目和父項目。

屬性

無。

子項目

項目

描述

scripting

指定 ASP.NET 支援 AJAX 的 Web 網頁的組態設定,以及啟用和停用應用程式服務的組態設定。

父項目

項目

描述

configuration

指定 Common Language Runtime 和 .NET Framework 應用程式所使用之每一個組態檔中的根項目。

備註

system.web.extensions 項目能夠讓您設定可供啟用 AJAX 的用戶端、Windows Communication Foundation (WCF) 用戶端 (SOAP 用戶端) 和 .NET Framework 用戶端使用的 ASP.NET 應用程式。 組態設定包含下列項目:

  • 透過 authenticationService、roleService 以及 profileService 項目啟用 ASP.NET 應用程式服務。

  • 透過 scriptResourceHandler 項目的 enableCompression 和 enableCaching 屬性設定指令碼處理常式。

  • 透過 jsonSerialization 項目設定 JSON 序列化。

項目資訊

組態區段處理常式

System.Web.Configuration.SystemWebExtensionsSectionGroup

可設定的位置

Machine.config

應用程式層級的 Web.config

需求

Microsoft Internet Information Services (IIS) 5.0、5.1、6.0 或 7.0

.NET Framework 3.0 版

請參閱

工作

How to: Configure Web Services in ASP.NET AJAX

參考

System.Web.Configuration

概念

ASP.NET Configuration Overview

ASP.NET Configuration File Hierarchy and Inheritance

其他資源

ASP.NET 組態設定

ASP.NET Configuration API