出版時(shí)間:2010-10 出版社:東南大學(xué)出版社 作者:瑞奇特 頁(yè)數(shù):873
Tag標(biāo)簽:無
內(nèi)容概要
深度挖掘并掌握公共語言運(yùn)行時(shí)、C#和.NET開發(fā)的錯(cuò)綜復(fù)雜之處。作為編程專家和微軟.NET團(tuán)隊(duì)的長(zhǎng)期顧問,Jeffrey Richter將帶領(lǐng)你獲得務(wù)實(shí)的見解來創(chuàng)建健壯、可靠且反應(yīng)迅速的應(yīng)用程序與組件。更新.NET Framework 4.0及多核編程部分之后,這本完美的經(jīng)典指南可幫助開發(fā)者建立任何類型的應(yīng)用程序,包括MicrosoftSilverliclht、ASP.NET、Windows、Presentation Foundation、Web services和控制臺(tái)應(yīng)用。 從本書理解以下內(nèi)容: 建立、部署基于版本的應(yīng)用程序、組件和共享程序集; 在理解原語、數(shù)值和引用類型行為的基礎(chǔ)上來定義并更高效地使用它們; 使用泛型和接口定義可重用算法; 有效地使用特殊的CLR類型——委托、枚舉、自定義屬性、數(shù)組、字符串; 理解垃圾收集器如何管理資源; 使用線程池、任務(wù)、取消模式、定時(shí)器和異步I/O操作來設(shè)計(jì)靈活、可靠、可擴(kuò)展的解決方案; 使用異常處理以協(xié)助狀態(tài)管理; 使用CLR托管、AppDomain、程序集加載、反射和C#動(dòng)態(tài)類型來構(gòu)建動(dòng)態(tài)可擴(kuò)展的應(yīng)用程序。
作者簡(jiǎn)介
Jeffrey Richter是Wintellect的共同創(chuàng)辦人之一(www.wintellect.com),這是一家培訓(xùn)、咨詢和調(diào)試相關(guān)的企業(yè),專門致力于幫助其他公司更快構(gòu)建更好的軟件。他于1999年10月開始為微軟的.NET框架團(tuán)隊(duì)提供咨詢,并已促成了微軟的數(shù)款產(chǎn)品。除了本書之前的版本,他還寫過一些其他流行的主題,包括《Windows viaC/C++》和《Advanced Windows》。
書籍目錄
ForewardIntroductionPart Ⅰ CLR Basics 1 The CLR's Execution Model Compiling Source Code into Managed Modules Combining Managed Modules into Assemblies Loading the Common Language Runtime Executing Your Assembly's Code IL and Verification Unsafe Code The Native Code Generator Tool: NGen.exe The Framework Class Library The Common Type System The Common Language Specification Interoperability with Unmanaged Code2 Building, Packaging, Deploying, and Administering Applications and Types3 Shared Assemblies and Strongly Named AssembliesPart Ⅱ Designing Types4 Type Fundamentals5 Primitive, Reference, and Value Types6 Type and Member Basics7 Constants and Fields8 Methods9 Parameters10 Properties11 Events12 Generics13 InterfacesPart Ⅲ Essential Types14 Chars, Strings, and Working with Text15 Enumerated Types and Bit Flags16 Arrays17 Delegates18 Custom Attributes19 Nullable Value TypesPart Ⅳ Core Facilities20 Exceptions and State Management21 Automatic Memory Management (Garbage Collection)22 CLR Hosting and AppDomains23 Assembly Loading and Reflection24 Runtime SerializationPart Ⅴ Threading25 Thread Basics26 Compute-Bound Asynchronous Operations27 I/O-Bound Asynchronous Operations28 Primitive Thread Synchronization Constructs29 Hybrid Thread Synchronization ConstructsIndex
章節(jié)摘錄
插圖:In fact, at runtime, the CLR has no idea which programming language the developer used for the source code. This means that you should choose whatever programming language allows you to express your intentions most easily. You can develop your code in any programming language you desire as long as the compiler you use to compile your code targets the CLR.So, if what I say is true, what is the advantage of using one programming language over another? Well, I think of compilers as syntax checkers and “correct code” analyzers. They examine your source code, ensure that whatever you've written makes some sense, and then output code that describes your intention. Different programming languages allow you to develop using different syntax. Don't underestimate the value of this choice. For mathematical or financial applications, expressing your intentions by using APL syntax can save many days of development time when compared to expressing the same intention by using Perl syntax, for example.
圖書封面
圖書標(biāo)簽Tags
無
評(píng)論、評(píng)分、閱讀與下載