【正文】
希望應用程序中的所有頁(或一組頁)所具有的布局和標準行為。 頁框架為響應在 服務器上運行的代碼中的客戶端事件提供統(tǒng)一的模型,從而使您不必考慮基于 Web 的應用程序中固有的客戶端和服務器隔離的實現(xiàn)細節(jié)。使用這些語言,可以開發(fā)利用公共語言運行 庫、類型安全、繼承等方面的優(yōu)點的 應用程序。您可以使用與公共語言運行庫 (CLR) 兼容的任何語言來編寫應用程序的代碼,這些語言包括 Microsoft Visual Basic、 C、 JScript .NET 和 J。在 網(wǎng)頁中,可以使用屬性、方法和事件來處理 HTML 元素。 除了主題外,還可以定義母版頁,以使應用程序中的頁具有一致的布局。您可以使用由 IIS 提供的 Windows 身份驗證對用戶進行身份驗證,也可以通過您自己的用戶數(shù)據(jù)庫使用 Forms 身份驗證和 成員資格來管理身份驗證。 通過 應用程序使用的配置系統(tǒng),可以定義 Web 服務器、網(wǎng)站或單個應用程序的配置設置。 支持兩組可供應用程序訪問的性能計數(shù)器: ? 系統(tǒng)性能計數(shù)器組 ? 應用程序性能計數(shù)器組 利用運行庫調(diào)試基礎結構 來提供跨語言和跨計算機調(diào)試支持。雖然 依賴作為應用程序宿主的 Web 服務器 (IIS),但 自身也提供了許多宿主功能。 C 的大括號語法使任何熟悉 C、 C++ 或 Java 的人都可以立即上手。重寫父類中的虛方法的各種方法要求 override 關鍵字作為一種避免意外重定義的方式。在直接內(nèi)存訪問必不可少的情況下, C 甚至支持指針和 “ 不安全 ” 代碼的概念。 IL 代碼與資源(如位圖和字符串)一起作為一種稱為程序集的可執(zhí)行文件存儲在磁盤上,通常具有的擴展名為 .exe 或 .dll。因為由 C 編譯器生成的 IL 代碼符合公共類型規(guī)范 (CTS),因此從 C 生成的 IL 代碼可以與從 Visual Basic、 Visual C++、 Visual J 的 .NET 版本或者其他 20 多種符合 CTS 的語言中的任何一種生成的代碼進行交互。s mercial implementation of the mon language infrastructure (CLI), an international standard that is the basis for creating execution and development environments in which languages and libraries work together seamlessly. Source code written in C is piled into an intermediate language (IL) that conforms to the CLI specification. The IL code, along with resources such as bitmaps and strings, is stored on disk in an executable file called an assembly, typically with an extension of .exe or .dll. An assembly contains a manifest that provides information on the assembly39。 第 7 頁 共 14 頁 is a unified Web development model that includes the services necessary for you to build enterpriseclass Web applications with a minimum of coding. is part of the .NET Framework, and when coding applications you have access to classes in the .NET Framework. You can code your applications in any language patible with the mon language runtime (CLR), including Microsoft Visual Basic, C, JScript .NET, and J. These languages enable you to develop applications that benefit from the mon language runtime, type safety, inheritance, and so on. includes: ? A page and controls framework ? The piler ? Security infrastructure ? Statemanagement facilities ? Application configuration ? Health monitoring and performance features ? Debugging support ? An XML Web services framework ? Extensible hosting environment and application life cycle management ? An extensible designer environment The page and controls framework is a programming framework that runs on a Web server to dynamically produce and render Web pages. Web pages can be requested from any browser or client device, and renders markup (such as HTML) to the requesting browser. As a rule, you can use the same page for multiple browsers, because renders the appropriate markup for the browser making the request. However, you can design 第 8 頁 共 14 頁 your Web page to target a specific browser, such as Microsoft Inter Explorer 6, and take advantage of the features of that browser. supports mobile controls for Webenabled devices such as cellular phones, handheld puters, and personal digital assistants (PDAs). Web pages are pletely objectoriented. Within Web pages you can work with HTML elements using properties, methods, and events. The page framework removes the implementation details of the separation of client and server inherent in Webbased applications by presenting a unified model for responding to client events in code that runs at the server. The framework also automatically maintains the state of a page and the controls on that page during the page processing life cycle. The page and controls framework also enables you to encapsulate mon UI functionality in easytouse, reusable controls. Controls are writt