【正文】
后過濾內(nèi)容,或者僅僅把匹配指定簽名的客戶端請求直接路由到你的代碼里或轉(zhuǎn)向其它的 URL。它不僅僅 只是 WebForms 和 WebServices。ll find that all are easily customizable and replaceable to tailor to your needs. Developers can plug in custom code anywhere in the page lifecycle to further customize AS to their needs. Server Control Extensibility. includes improved support for control extensibility, such as more base classes that encapsulate mon behaviors, improved designer support, more APIs for interacting with clientside script, metadatadriven support for new features like themes and accessibility verification, better state management, and more. Data Source Controls. Data access in is now performed declaratively using data source controls on a page. In this model, support for new data backend storage providers can be easily added by implementing custom data source controls. Additionally, the SqlDataSource control that ships in the box has builtin support for any managed provider that implements the new provider factory model in . Compilation Build Providers. Dynamic pilation in is now handled by extensible pilation build providers, which associate a particular file extension with a handler that knows how to pile that extension dynamically at runtime. For example, .resx files can be dynamically piled to resources, .wsdl files to web service proxies, and .xsd files to typed DataSet objects. In addition to the builtin support, it is easy to add support for additional extensions by implementing a custom build provider and registering it in We. Expression Builders. introduces a declarative new syntax for referencing code to substitute values into the page, called Expression Builders. includes expression builders for referencing string resources for localization, connection strings, application settings, and profile values. You can also write your own expression builders to create your own custom syntax to substitute values in a page rendering. Performance and Scalability is built to perform, using a piled execution model for handling page requests and running on the world39。在處理請求的每一個層面都牽涉到許多對象,但大多數(shù)對象都可以通過派生或者事件接口來擴展。 介紹了幾種新功能,進一步加強部署,管理和運作 服務(wù)器。 aspx 文件的一部分,該編譯階段) ,進一步保護您的知識產(chǎn)權(quán)。 服務(wù)器控件可擴展性。舉例來說, resx 文件可以被動態(tài) 編譯的資源, WSDL 文件,以 Web Service的代理,和。 還介紹了關(guān)鍵的性能優(yōu)勢,超過先前的版本。但對于企業(yè)級的程序開發(fā)是相當?shù)碾y于管理的。在服務(wù)器端, IIS5 或者 IIS6 將會收到這個請求。舉個例子, WebServices 的擴展名 .asmx 不會把一個請求路由到磁盤上的某一個頁面,而是會路由到在定義中附加了指定特性( WebMethodAttribute)的類,此特性會把它標識成 一個 Web Services 的實現(xiàn)。它定義的接口非常的單一并且性能最優(yōu)。這使得那些高層次的應(yīng)用程序需要的信息可以從 ISAPI 提供的信息中提煉。 。 作為約定, ISAPI 支持 ISAPI 擴展( extensions)和 ISAPI 過濾( filters)。 ISAPI 提供了最低層的、高性能的接口,開發(fā)者和工具廠商可以使用這些接口深入到 IIS 里。當然也可以定義你自己的處理器。但是,這個處理過程如何工作,則完全依賴于 HTTP 處理器( handler)的執(zhí)行。但是無論如何, ISAPI 沒有被廢棄。對于功能強大的 .NET 框架而言,使用自己的東西,構(gòu)建一個成熟的、高性能的引擎體系結(jié)構(gòu)已經(jīng)成為一個遺囑。在除了內(nèi)建的支持,很容易添加額外的支持,擴展實施自訂的建立供應(yīng)商和登記,它在 中。 數(shù)據(jù)源的控制。 也提供了新的健康監(jiān)測的支持,以使管理員能夠自動通知申請時,在服務(wù)器上開始遇到問題。 中包含新的配置管理 API ,使用戶以編程方式建立的程序或腳本創(chuàng)建,讀取和更新的 和 中配置文件。通過這一套機制,可以進入較低層次的接口如:緩存,身份驗證,授權(quán)等是有可能的。s ISAPI filter to the expansion and pletion. Although there are some restrictions, but pared with the ASP, has been great progress. ISAPI i