tailieunhanh - Lập trình .net 4.0 và visual studio 2010 part 10
Trong chương này bạn sẽ xem xét các thay đổi trong thời gian chạy ngôn ngữ chung (CLR) trong NET . Rằng bao gồm các thay đổi cho an ninh thu gom rác thải,, luồng, và quốc tế. Sau đó bạn sẽ nhìn vào các loại mới được giới thiệu trong NET . Và những cải tiến đã được thực hiện đến các lớp học hiện có. | CHAPTER 4 CLR and BCL Changes Availability Framework 4 In this chapter you will look at the changes to the common language runtime CLR in .NET that cover changes to security garbage collection threading and internationalization. You will then look into the new types introduced in .NET and the enhancements that have been made to existing classes. You will finish the chapter by looking at code contracts a great new feature allowing you to express assumptions and constraints within your code. New CLR The last two releases and have been additive releases building on top of the functionality available in CLR version see Figure 4-1 . Major enhancements CLR version WCF WPF WF EF Parallel WCS LINQ DLR Y X W A W A W A V Z Z Z 77 7 r Z 7 Z 7 Z 7 Z A 7 Z 7 Z 7 Z 7 Z A 7 7 7 7 .NET version .NET .NET .NET .NET .NET .NET SP1 Figure 4-1. CLR releases 67 CHAPTER 4 CLR AND BCL CHANGES .NET however has a new version of the CLR So you can happily install .NET without fear that it will affect your existing .NET applications running on previous versions of the framework. When using IIS7 the CLR version is determined by the application pool settings. Thus you should be able to run .NET applications side by side without fear of affecting existing sites. What Version of the CLR Does My Application Use It depends applications compiled for earlier versions of the framework will as before use the same version they were built on if it s installed. If however the previous framework version is not available the user will now be offered a choice about whether to download the version of the framework the application was built with or whether to run using the latest version. Prior to .NET the user wouldn t be given this choice with the application using the latest version available. Specifying the Framework to Use Since almost the beginning of .NET well .NET .
đang nạp các trang xem trước