2023年全國碩士研究生考試考研英語一試題真題(含答案詳解+作文范文)_第1頁
已閱讀1頁,還剩13頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)

文檔簡介

1、<p><b>  ASP.NET </b></p><p>  ASP.NET 是一個統(tǒng)一的 Web 開發(fā)模型,它包括您使用盡可能少的代碼生成企業(yè)級 Web 應(yīng)用程序所必需的各種服務(wù)。ASP.NET 作為 .NET Framework 的一部分提供。當(dāng)您編寫 ASP.NET 應(yīng)用程序的代碼時,可以訪問 .NET Framework 中的類。您可以使用與公共語言運行庫 (CLR)

2、兼容的任何語言來編寫應(yīng)用程序的代碼,這些語言包括 Microsoft Visual Basic、C#、JScript .NET 和 J#。使用這些語言,可以開發(fā)利用公共語言運行庫、類型安全、繼承等方面的優(yōu)點的 ASP.NET 應(yīng)用程序。</p><p>  ASP.NET 包括:</p><p><b>  頁和控件框架</b></p><p>

3、;  ASP.NET 編譯器</p><p><b>  安全基礎(chǔ)結(jié)構(gòu)</b></p><p><b>  狀態(tài)管理功能</b></p><p><b>  應(yīng)用程序配置</b></p><p>  運行狀況監(jiān)視和性能功能</p><p><b&g

4、t;  調(diào)試支持</b></p><p>  XML Web services 框架</p><p>  可擴展的宿主環(huán)境和應(yīng)用程序生命周期管理</p><p><b>  可擴展的設(shè)計器環(huán)境</b></p><p>  ASP.NET 頁和控件框架是一種編程框架,它在 Web 服務(wù)器上運行,可以動態(tài)地生成和

5、呈現(xiàn) ASP.NET 網(wǎng)頁??梢詮娜魏螢g覽器或客戶端設(shè)備請求 ASP.NET 網(wǎng)頁,ASP.NET 會向請求瀏覽器呈現(xiàn)標(biāo)記(例如 HTML)。通常,您可以對多個瀏覽器使用相同的頁,因為 ASP.NET 會為發(fā)出請求的瀏覽器呈現(xiàn)適當(dāng)?shù)臉?biāo)記。但是,您可以針對諸如 Microsoft Internet Explorer 6 的特定瀏覽器設(shè)計 ASP.NET 網(wǎng)頁,并利用該瀏覽器的功能。ASP.NET 支持基于 Web 的設(shè)備(如移動電話、手持

6、型計算機和個人數(shù)字助理 (PDA))的移動控件。 </p><p>  ASP.NET 網(wǎng)頁是完全面向?qū)ο蟮?。?ASP.NET 網(wǎng)頁中,可以使用屬性、方法和事件來處理 HTML 元素。ASP.NET 頁框架為響應(yīng)在服務(wù)器上運行的代碼中的客戶端事件提供統(tǒng)一的模型,從而使您不必考慮基于 Web 的應(yīng)用程序中固有的客戶端和服務(wù)器隔離的實現(xiàn)細節(jié)。該框架還會在頁處理生命周期中自動維護頁及該頁上控件的狀態(tài)。</p&g

7、t;<p>  使用 ASP.NET 頁和控件框架還可以將常用的 UI 功能封裝成易于使用且可重用的控件??丶恍杈帉懸淮?,即可用于許多頁并集成到 ASP.NET 網(wǎng)頁中。這些控件在呈現(xiàn)期間放入 ASP.NET 網(wǎng)頁中。</p><p>  ASP.NET 頁和控件框架還提供各種功能,以便可以通過主題和外觀來控制網(wǎng)站的整體外觀和感覺??梢韵榷x主題和外觀,然后在頁面級或控件級應(yīng)用這些主題和外觀。&l

8、t;/p><p>  除了主題外,還可以定義母版頁,以使應(yīng)用程序中的頁具有一致的布局。一個母版頁可以定義您希望應(yīng)用程序中的所有頁(或一組頁)所具有的布局和標(biāo)準(zhǔn)行為。然后可以創(chuàng)建包含要顯示的頁特定內(nèi)容的各個內(nèi)容頁。當(dāng)用戶請求內(nèi)容頁時,這些內(nèi)容頁與母版頁合并,產(chǎn)生將母版頁的布局與內(nèi)容頁中的內(nèi)容組合在一起的輸出。</p><p>  所有 ASP.NET 代碼都經(jīng)過了編譯,可提供強類型、性能優(yōu)化和早

9、期綁定以及其他優(yōu)點。代碼一經(jīng)編譯,公共語言運行庫會進一步將 ASP.NET 編譯為本機代碼,從而提供增強的性能。</p><p>  ASP.NET 包括一個編譯器,該編譯器將包括頁和控件在內(nèi)的所有應(yīng)用程序組件編譯成一個程序集,之后 ASP.NET 宿主環(huán)境可以使用該程序集來處理用戶請求。</p><p>  除了 .NET 的安全功能外,ASP.NET 還提供了高級的安全基礎(chǔ)結(jié)構(gòu),以便對

10、用戶進行身份驗證和授權(quán),并執(zhí)行其他與安全相關(guān)的功能。您可以使用由 IIS 提供的 Windows 身份驗證對用戶進行身份驗證,也可以通過您自己的用戶數(shù)據(jù)庫使用 ASP.NET Forms 身份驗證和 ASP.NET 成員資格來管理身份驗證。此外,可以使用 Windows 組或您自己的自定義角色數(shù)據(jù)庫(使用 ASP.NET 角色)來管理 Web 應(yīng)用程序的功能和信息方面的授權(quán)。您可以根據(jù)應(yīng)用程序的需要方便地移除、添加或替換這些方案。<

11、;/p><p>  ASP.NET 始終使用特定的 Windows 標(biāo)識運行,因此,您可以通過使用 Windows 功能(例如 NTFS 訪問控制列表 (ACL)、數(shù)據(jù)庫權(quán)限等等)來保護應(yīng)用程序的安全。</p><p>  ASP.NET 提供了內(nèi)部狀態(tài)管理功能,它使您能夠存儲頁請求期間的信息,例如客戶信息或購物車的內(nèi)容。您可以保存和管理應(yīng)用程序特定、會話特定、頁特定、用戶特定和開發(fā)人員定義的

12、信息。此信息可以獨立于頁上的任何控件。</p><p>  ASP.NET 提供了分布式狀態(tài)功能,使您能夠管理一臺計算機或數(shù)臺計算機上同一應(yīng)用程序的多個實例的狀態(tài)信息。</p><p>  通過 ASP.NET 應(yīng)用程序使用的配置系統(tǒng),可以定義 Web 服務(wù)器、網(wǎng)站或單個應(yīng)用程序的配置設(shè)置。您可以在部署 ASP.NET 應(yīng)用程序時定義配置設(shè)置,并且可以隨時添加或修訂配置設(shè)置,且對運行的 W

13、eb 應(yīng)用程序和服務(wù)器具有最小的影響。ASP.NET 配置設(shè)置存儲在基于 XML 的文件中。由于這些 XML 文件是 ASCII 文本文件,因此對 Web 應(yīng)用程序進行配置更改比較簡單。您可以擴展配置方案,使其符合自己的要求。</p><p>  ASP.NET 包括可監(jiān)視 ASP.NET 應(yīng)用程序的運行狀況和性能的功能。使用 ASP.NET 運行狀況監(jiān)視可以報告關(guān)鍵事件,這些關(guān)鍵事件提供有關(guān)應(yīng)用程序的運行狀況和

14、錯誤情況的信息。這些事件顯示診斷和監(jiān)視特征的組合,并在記錄哪些事件以及如何記錄事件等方面提供了高度的靈活性。</p><p>  ASP.NET 支持兩組可供應(yīng)用程序訪問的性能計數(shù)器:</p><p>  ASP.NET 系統(tǒng)性能計數(shù)器組</p><p>  ASP.NET 應(yīng)用程序性能計數(shù)器組</p><p>  ASP.NET 利用運行庫

15、調(diào)試基礎(chǔ)結(jié)構(gòu)來提供跨語言和跨計算機調(diào)試支持??梢哉{(diào)試托管和非托管對象,以及公共語言運行庫和腳本語言支持的所有語言。</p><p>  此外,ASP.NET 頁框架提供使您可以將檢測消息插入 ASP.NET 網(wǎng)頁的跟蹤模式。</p><p>  ASP.NET 支持 XML Web services。XML Web services 是包含業(yè)務(wù)功能的組件,利用該業(yè)務(wù)功能,應(yīng)用程序可以使用

16、HTTP 和 XML 消息等標(biāo)準(zhǔn)跨越防火墻交換信息。XML Web services 不用依靠特定的組件技術(shù)或?qū)ο笳{(diào)用約定。因此,用任何語言編寫、使用任何組件模型并在任何操作系統(tǒng)上運行的程序,都可以訪問 XML Web services。</p><p>  ASP.NET 包括一個可擴展的宿主環(huán)境,該環(huán)境控制應(yīng)用程序的生命周期,即從用戶首次訪問此應(yīng)用程序中的資源(例如頁)到應(yīng)用程序關(guān)閉這一期間。雖然 ASP.N

17、ET 依賴作為應(yīng)用程序宿主的 Web 服務(wù)器 (IIS),但 ASP.NET 自身也提供了許多宿主功能。通過 ASP.NET 的基礎(chǔ)結(jié)構(gòu),您可以響應(yīng)應(yīng)用程序事件并創(chuàng)建自定義 HTTP 處理程序和 HTTP 模塊。</p><p>  ASP.NET 中提供了對創(chuàng)建 Web 服務(wù)器控件設(shè)計器(用于可視化設(shè)計工具,例如 Visual Studio)的增強支持。使用設(shè)計器可以為控件生成設(shè)計時用戶界面,這樣開發(fā)人員可以在

18、可視化設(shè)計工具中配置控件的屬性和內(nèi)容。</p><p>  C# 是一種簡潔、類型安全的面向?qū)ο蟮恼Z言,開發(fā)人員可以使用它來構(gòu)建在 .NET Framework 上運行的各種安全、可靠的應(yīng)用程序。使用 C#,您可以創(chuàng)建傳統(tǒng)的 Windows 客戶端應(yīng)用程序、XML Web services、分布式組件、客戶端 - 服務(wù)器應(yīng)用程序、數(shù)據(jù)庫應(yīng)用程序以及很多其他類型的程序。Microsoft Visual C# 200

19、5 提供高級代碼編輯器、方便的用戶界面設(shè)計器、集成調(diào)試器和許多其他工具,以在 C# 語言版本 2.0 和 .NET Framework 的基礎(chǔ)上加快應(yīng)用程序的開發(fā)。</p><p>  C# 語法表現(xiàn)力強,只有不到 90 個關(guān)鍵字,而且簡單易學(xué)。C# 的大括號語法使任何熟悉 C、C++ 或 Java 的人都可以立即上手。了解上述任何一種語言的開發(fā)人員通常在很短的時間內(nèi)就可以開始使用 C# 高效地工作。C# 語法簡

20、化了 C++ 的諸多復(fù)雜性,同時提供了很多強大的功能,例如可為空的值類型、枚舉、委托、匿名方法和直接內(nèi)存訪問,這些都是 Java 所不具備的。C# 還支持泛型方法和類型,從而提供了更出色的類型安全和性能。C# 還提供了迭代器,允許集合類的實現(xiàn)者定義自定義的迭代行為,簡化了客戶端代碼對它的使用。</p><p>  作為一種面向?qū)ο蟮恼Z言,C# 支持封裝、繼承和多態(tài)性概念。所有的變量和方法,包括 Main 方法(應(yīng)

21、用程序的入口點),都封裝在類定義中。類可能直接從一個父類繼承,但它可以實現(xiàn)任意數(shù)量的接口。重寫父類中的虛方法的各種方法要求 override 關(guān)鍵字作為一種避免意外重定義的方式。在 C# 中,結(jié)構(gòu)類似于一個輕量類;它是一種堆棧分配的類型,可以實現(xiàn)接口,但不支持繼承。</p><p>  除了這些基本的面向?qū)ο蟮脑恚珻# 還通過幾種創(chuàng)新的語言結(jié)構(gòu)加快了軟件組件的開發(fā),其中包括:</p><p&

22、gt;  封裝的方法簽名(稱為委托),它實現(xiàn)了類型安全的事件通知。</p><p>  屬性 (Property),充當(dāng)私有成員變量的訪問器。 </p><p>  屬性 (Attribute),提供關(guān)于運行時類型的聲明性元數(shù)據(jù)。 </p><p>  內(nèi)聯(lián) XML 文檔注釋。</p><p>  在 C# 中,如果需要與其他 Windows

23、 軟件(如 COM 對象或本機 Win32 DLL)交互,可以通過一個稱為“Interop”的過程來實現(xiàn)?;ゲ僮魇?C# 程序能夠完成本機 C++ 應(yīng)用程序可以完成的幾乎任何任務(wù)。在直接內(nèi)存訪問必不可少的情況下,C# 甚至支持指針和“不安全”代碼的概念。</p><p>  C# 的生成過程比 C 和 C++ 簡單,比 Java 更為靈活。沒有單獨的頭文件,也不要求按照特定順序聲明方法和類型。C# 源文件可以定義

24、任意數(shù)量的類、結(jié)構(gòu)、接口和事件。</p><p>  C# 程序在 .NET Framework 上運行,它是 Windows 的一個必要組件,包括一個稱為公共語言運行時 (CLR) 的虛擬執(zhí)行系統(tǒng)和一組統(tǒng)一的類庫。CLR 是 Microsoft 的公共語言基礎(chǔ)結(jié)構(gòu) (CLI) 的一個商業(yè)實現(xiàn)。CLI 是一種國際標(biāo)準(zhǔn),是用于創(chuàng)建語言和庫在其中無縫協(xié)同工作的執(zhí)行和開發(fā)環(huán)境的基礎(chǔ)。</p><p&

25、gt;  用 C# 編寫的源代碼被編譯為一種符合 CLI 規(guī)范的中間語言 (IL)。IL 代碼與資源(如位圖和字符串)一起作為一種稱為程序集的可執(zhí)行文件存儲在磁盤上,通常具有的擴展名為 .exe 或 .dll。程序集包含清單,它提供關(guān)于程序集的類型、版本、區(qū)域性和安全要求等信息。</p><p>  執(zhí)行 C# 程序時,程序集將加載到 CLR 中,這可能會根據(jù)清單中的信息執(zhí)行不同的操作。然后,如果符合安全要求,C

26、LR 執(zhí)行實時 (JIT) 編譯以將 IL 代碼轉(zhuǎn)換為本機機器指令。CLR 還提供與自動垃圾回收、異常處理和資源管理有關(guān)的其他服務(wù)。由 CLR 執(zhí)行的代碼有時稱為“托管代碼”,它與編譯為面向特定系統(tǒng)的本機機器語言的“非托管代碼”相對應(yīng)。下圖演示了 C# 源代碼文件、基類庫、程序集和 CLR 的編譯時與運行時的關(guān)系。</p><p>  語言互操作性是 .NET Framework 的一個關(guān)鍵功能。因為由 C# 編

27、譯器生成的 IL 代碼符合公共類型規(guī)范 (CTS),因此從 C# 生成的 IL 代碼可以與從 Visual Basic、Visual C++、Visual J# 的 .NET 版本或者其他 20 多種符合 CTS 的語言中的任何一種生成的代碼進行交互。單一程序集可能包含用不同 .NET 語言編寫的多個模塊,并且類型可以相互引用,就像它們是用同一種語言編寫的。</p><p>  除了運行時服務(wù),.NET Fram

28、ework 還包含一個由 4000 多個類組成的內(nèi)容詳盡的庫,這些類被組織為命名空間,為從文件輸入和輸出到字符串操作、到 XML 分析、到 Windows 窗體控件的所有內(nèi)容提供多種有用的功能。典型的 C# 應(yīng)用程序使用 .NET Framework 類庫廣泛地處理常見的“日常”任務(wù)。</p><p><b>  ASP.NET</b></p><p>  ASP.N

29、ET is a unified Web development model that includes the services necessary for you to build enterprise-class Web applications with a minimum of coding. ASP.NET is part of the .NET Framework, and when coding ASP.NET appli

30、cations you have access to classes in the .NET Framework. You can code your applications in any language compatible with the common language runtime (CLR), including Microsoft Visual Basic, C#, JScript .NET, and J#.

31、 These languages enable you to develop ASP.NET applications </p><p>  ASP.NET includes:</p><p>  A page and controls framework</p><p>  The ASP.NET compiler</p><p>  Se

32、curity infrastructure</p><p>  State-management facilities</p><p>  Application configuration</p><p>  Health monitoring and performance features</p><p>  Debugging sup

33、port</p><p>  An XML Web services framework</p><p>  Extensible hosting environment and application life cycle management</p><p>  An extensible designer environment</p><

34、p>  The ASP.NET page and controls framework is a programming framework that runs on a Web server to dynamically produce and render ASP.NET Web pages. ASP.NET Web pages can be requested from any browser or client devic

35、e, and ASP.NET renders markup (such as HTML) to the requesting browser. As a rule, you can use the same page for multiple browsers, because ASP.NET renders the appropriate markup for the browser making the request. Howev

36、er, you can design your ASP.NET Web page to target a specific brows</p><p>  ASP.NET Web pages are completely object-oriented. Within ASP.NET Web pages you can work with HTML elements using properties, metho

37、ds, and events. The ASP.NET page framework removes the implementation details of the separation of client and server inherent in Web-based applications by presenting a unified model for responding to client events in cod

38、e 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 lif</p><p>  The ASP.NET page and controls framework also en

39、ables you to encapsulate common UI functionality in easy-to-use, reusable controls. Controls are written once, can be used in many pages, and are integrated into the ASP.NET Web page that they are placed in during render

40、ing.</p><p>  The ASP.NET page and controls framework also provides features to control the overall look and feel of your Web site via themes and skins. You can define themes and skins and then apply them at

41、 a page level or at a control level. </p><p>  In addition to themes, you can define master pages that you use to create a consistent layout for the pages in your application. A single master page defines th

42、e layout and standard behavior that you want for all the pages (or a group of pages) in your application. You can then create individual content pages that contain the page-specific content you want to display. When user

43、s request the content pages, they merge with the master page to produce output that combines the layout of the master pa</p><p>  All ASP.NET code is compiled, which enables strong typing, performance optimi

44、zations, and early binding, among other benefits. Once the code has been compiled, the common language runtime further compiles ASP.NET code to native code, providing improved performance.</p><p>  ASP.NET i

45、ncludes a compiler that will compile all your application components including pages and controls into an assembly that the ASP.NET hosting environment can then use to service user requests. </p><p>  In add

46、ition to the security features of .NET, ASP.NET provides an advanced security infrastructure for authenticating and authorizing user access as well as performing other security-related tasks. You can authenticate users u

47、sing Windows authentication supplied by IIS, or you can manage authentication using your own user database using ASP.NET forms authentication and ASP.NET membership. Additionally, you can manage the authorization to the

48、capabilities and information of your Web application u</p><p>  ASP.NET always runs with a particular Windows identity so you can secure your application using Windows capabilities such as NTFS Access Contro

49、l Lists (ACLs), database permissions, and so on. For more information on the identity of ASP.NET,</p><p>  ASP.NET provides intrinsic state management functionality that enables you to store information betw

50、een page requests, such as customer information or the contents of a shopping cart. You can save and manage application-specific, session-specific, page-specific, user-specific, and developer-defined information. This in

51、formation can be independent of any controls on the page.</p><p>  ASP.NET offers distributed state facilities, which enable you to manage state information across multiple instances of the same application

52、on one computer or on several computers. </p><p>  ASP.NET applications use a configuration system that enables you to define configuration settings for your Web server, for a Web site, or for individual app

53、lications. You can make configuration settings at the time your ASP.NET applications are deployed and can add or revise configuration settings at any time with minimal impact on operational Web applications and servers.

54、ASP.NET configuration settings are stored in XML-based files. Because these XML files are ASCII text files, it is simple to </p><p>  ASP.NET includes features that enable you to monitor health and performan

55、ce of your ASP.NET application. ASP.NET health monitoring enables reporting of key events that provide information about the health of an application and about error conditions. These events show a combination of diagnos

56、tics and monitoring characteristics and offer a high degree of flexibility in terms of what is logged and how it is logged. </p><p>  ASP.NET supports two groups of performance counters accessible to your ap

57、plications:</p><p>  The ASP.NET system performance counter group</p><p>  The ASP.NET application performance counter group</p><p>  ASP.NET takes advantage of the run-time debuggi

58、ng infrastructure to provide cross-language and cross-computer debugging support. You can debug both managed and unmanaged objects, as well as all languages supported by the common language runtime and script languages.

59、</p><p>  In addition, the ASP.NET page framework provides a trace mode that enables you to insert instrumentation messages into your ASP.NET Web pages. </p><p>  ASP.NET supports XML Web servic

60、es. An XML Web service is a component containing business functionality that enables applications to exchange information across firewalls using standards like HTTP and XML messaging. XML Web services are not tied to a p

61、articular component technology or object-calling convention. As a result, programs written in any language, using any component model, and running on any operating system can access XML Web services. </p><p>

62、;  ASP.NET includes an extensible hosting environment that controls the life cycle of an application from when a user first accesses a resource (such as a page) in the application to the point at which the application is

63、 shut down. While ASP.NET relies on a Web server (IIS) as an application host, ASP.NET provides much of the hosting functionality itself. The architecture of ASP.NET enables you to respond to application events and creat

64、e custom HTTP handlers and HTTP modules. </p><p>  ASP.NET includes enhanced support for creating designers for Web server controls for use with a visual design tool such as Visual Studio. Designers enable y

65、ou to build a design-time user interface for a control, so that developers can configure your control's properties and content in the visual design tool. </p><p>  Introduction to the C# Language and the

66、 .NET Framework  C# is an elegant and type-safe object-oriented language that enables developers to build a wide range of secure and robust applications that run on the .NET Framework. You can use C# to create tradi

67、tional Windows client applications, XML Web services, distributed components, client-server applications, database applications, and much, much more. Microsoft Visual C# 2005 provides an advanced code editor, convenient

68、user interface designers, </p><p>  C# syntax is highly expressive, yet with less than 90 keywords, it is also simple and easy to learn. The curly-brace syntax of C# will be instantly recognizable to anyone

69、familiar with C, C++ or Java. Developers who know any of these languages are typically able to begin working productively in C# within a very short time. C# syntax simplifies many of the complexities of C++ while providi

70、ng powerful features such as nullable value types, enumerations, delegates, anonymous methods and direct memo</p><p>  As an object-oriented language, C# supports the concepts of encapsulation, inheritance a

71、nd polymorphism. All variables and methods, including the Main method, the application's entry point, are encapsulated within class definitions. A class may inherit directly from one parent class, but it may implemen

72、t any number of interfaces. Methods that override virtual methods in a parent class require the override keyword as a way to avoid accidental redefinition. In C#, a struct is like a lightweight cl</p><p>  I

73、n addition to these basic object-oriented principles, C# facilitates the development of software components through several innovative language constructs, including:</p><p>  Encapsulated method signatures

74、called delegates, which enable type-safe event notifications.</p><p>  Properties, which serve as accessors for private member variables. </p><p>  Attributes, which provide declarative metadata

75、 about types at run time. </p><p>  Inline XML documentation comments.</p><p>  If you need to interact with other Windows software such as COM objects or native Win32 DLLs, you can do this in C

76、# through a process called "Interop." Interop enables C# programs to do just about anything that a native C++ application can do. C# even supports pointers and the concept of "unsafe" code for those c

77、ases in which direct memory access is absolutely critical.</p><p>  The C# build process is simple compared to C and C++ and more flexible than in Java. There are no separate header files, and no requirement

78、 that methods and types be declared in a particular order. A C# source file may define any number of classes, structs, interfaces, and events.</p><p>  C# programs run on the .NET Framework, an integral comp

79、onent of Windows that includes a virtual execution system called the common language runtime (CLR) and a unified set of class libraries. The CLR is Microsoft's commercial implementation of the common language infrast

80、ructure (CLI), an international standard that is the basis for creating execution and development environments in which languages and libraries work together seamlessly.</p><p>  Source code written in C# is

81、 compiled 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 wi

82、th an extension of .exe or .dll. An assembly contains a manifest that provides information on the assembly's types, version, culture, and security requirements.</p><p>  When the C# program is executed,

83、the assembly is loaded into the CLR, which might take various actions based on the information in the manifest. Then, if the security requirements are met, the CLR performs just in time (JIT) compilation to convert the I

84、L code into native machine instructions. The CLR also provides other services related to automatic garbage collection, exception handling, and resource management. Code that is executed by the CLR is sometimes referred t

85、o as "managed code," in con</p><p>  Language interoperability is a key feature of the .NET Framework. Because the IL code produced by the C# compiler conforms to the Common Type Specification (CTS

86、), IL code generated from C# can interact with code that was generated from the .NET versions of Visual Basic, Visual C++, Visual J#, or any of more than 20 other CTS-compliant languages. A single assembly may contain mu

87、ltiple modules written in different .NET languages, and the types can reference each other just as if they were written </p><p>  In addition to the run time services, the .NET Framework also includes an ext

88、ensive library of over 4000 classes organized into namespaces that provide a wide variety of useful functionality for everything from file input and output to string manipulation to XML parsing, to Windows Forms controls

89、. The typical C# application uses the .NET Framework class library extensively to handle common "plumbing" chores.</p><p>  出處:本外文資料出自由Russ Basiura, Mike Batongbacal, 康博. 編寫的Professional ASP.NET We

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 眾賞文庫僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論