注冊(cè) | 登錄讀書好,好讀書,讀好書!
讀書網(wǎng)-DuShu.com
當(dāng)前位置: 首頁(yè)出版圖書科學(xué)技術(shù)計(jì)算機(jī)/網(wǎng)絡(luò)軟件與程序設(shè)計(jì).NET框架設(shè)計(jì)(影印版 第3版)

框架設(shè)計(jì)(影印版 第3版)

框架設(shè)計(jì)(影印版 第3版)

定 價(jià):¥99.00

作 者: (美)瑞奇特 著
出版社: 東南大學(xué)出版社
叢編項(xiàng):
標(biāo) 簽: .NET

ISBN: 9787564124144 出版時(shí)間: 2010-10-01 包裝: 平裝
開本: 12開 頁(yè)數(shù): 873 字?jǐn)?shù):  

內(nèi)容簡(jiǎn)介

  深度挖掘并掌握公共語(yǔ)言運(yùn)行時(shí)、C#和.NET開發(fā)的錯(cuò)綜復(fù)雜之處。作為編程專家和微軟.NET團(tuán)隊(duì)的長(zhǎng)期顧問(wèn),Jeffrey Richter將帶領(lǐng)你獲得務(wù)實(shí)的見(jiàn)解來(lái)創(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)用。從《框架設(shè)計(jì)(第3版)(影印版)》理解以下內(nèi)容:建立、部署基于版本的應(yīng)用程序、組件和共享程序集;在理解原語(yǔ)、數(shù)值和引用類型行為的基礎(chǔ)上來(lái)定義并更高效地使用它們;使用泛型和接口定義可重用算法;有效地使用特殊的CLR類型——委托、枚舉、自定義屬性、數(shù)組、字符串;理解垃圾收集器如何管理資源;使用線程池、任務(wù)、取消模式、定時(shí)器和異步I/O操作來(lái)設(shè)計(jì)靈活、可靠、可擴(kuò)展的解決方案;使用異常處理以協(xié)助狀態(tài)管理;使用CLR托管、AppDomain、程序集加載、反射和C#動(dòng)態(tài)類型來(lá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)品。除了本書之前的版本,他還寫過(guò)一些其他流行的主題,包括《Windows viaC/C++》和《Advanced Windows》。

圖書目錄

Foreward
Introduction
Part l CLR Basics
1 The CLRs Execution Model
Compiling Source Code into Managed Modules
Combining Managed Modules into Assemblies
Loading the Common Language Runtime
Executing Your Assemblys 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 Code
2 Building, Packaging, Deploying, and Administering Applications and Types
.NET Framework Deployment Goals
Building Types into a Module
Response Files
A Brief Look at Metadata
Combining Modules to Form an Assembly
Adding Assemblies to a Project by Using the Visual Studio IDE
Using the Assembly Linker
Adding Resource Files to an Assembly
Assembly Version Resource Information
Version Numbers
Culture
Simple Application Deployment (Privately Deployed Assemblies)
Simple Administrative Control (Configuration)
3 Shared Assemblies and Strongly Named Assemblies
Two Kinds of Assemblies, Two Kinds of Deployment
Giving an Assembly a Strong Name
The Global Assembly Cache
Building an Assembly That References a Strongly Named Assembly
Strongly Named Assemblies Are Tamper-Resistant
Delayed Signing
Privately Deploying Strongly Named Assemblies
How the Runtime Resolves Type References
Advanced Administrative Control (Configuration)
Publisher Policy Control
Part II Designing Types
4 Type Fundamentals
All Types Are Derived from System.Object
Casting Between Types
Casting with the C# s and as Operators
Namespaces and Assemblies
How Things Relate at Runtime
5 Primitive, Reference, and Value Types
Programming Language Primitive Types
Checked and Unchecked Primitive Type Operations
Reference Types and Value Types
Boxing and Unboxing Value Types
Changing Fields in a Boxed Value Type by Using Interfaces (and Why You Shouldnt Do This)
Object Equality and Identity
Object Hash Codes
The dynamic Primitive Type
6 Type and Member Basics
The Different Kinds of Type Members
Type Visibility
Friend Assemblies
Member Accessibility
Static Classes
Partial Classes, Structures, and Interfaces
Components, Polymorphism, and Versioning
How the CLR Calls Virtual Methods, Properties, and Events
Using Type Visibility and Member Accessibility Intelligently
Dealing with Virtual Methods When Versioning Types
7 Constants and Fields
Constants
Fields
8 Methods
Instance Constructors and Classes (Reference Types)
Instance Constructors and Structures (Value Types)
Type Constructors
Type Constructor Performance
Operator Overload Methods
Operators and Programming Language Interoperability
Conversion Operator Methods
Extension Methods
Rules and Guidelines
Extending Various Types with Extension Methods
The Extension Attribute
Partial Methods
Rules and Guidelines
9 Parameters
Optional and Named Parameters
Rules and Guidelines
The Defaul tParameterVal ue and Optional Attributes
Implicitly Typed Local Variables
Passing Parameters by Reference to a Method
Passing a Variable Number of Arguments to a Method
Parameter and Return Type Guidelines
Const-ness
10 Properties .
Parameterless Properties
Automatically Implemented Properties
Defining Properties Intelligently
Object and Collection Initializers
Anonymous Types
The System, Tuple Type
Parameterful Properties
The Performance of Calling Property Accessor Methods
Property Accessor Accessibility
Generic Property Accessor Methods
11 Events
Designing a Type That Exposes an Event
Step #1: Define a type that will hold any additional information
that should be sent to receivers of the event notification
Step #2: Define the event member
Step #3: Define a method responsible for raising the event to
notify registered obJects that the event has occurred
Step #4: Define a method that translates the input into the desired event.
How the Compiler Implements an Event
Designing a Type That Listens for an Event
Explicitly Implementing an Event
12 Generics
Generics in the Framework Class Library
Wintellects Power Collections Library
Generics Infrastructure
Open and Closed Types
Generic Types and Inheritance
Generic Type Identity
Code Explosion
Generic Interfaces
Generic Delegates
Delegate and Interface Contravariant and Covariant Generic Type Arguments.
Generic Methods
Generic Methods and Type Inference
Generics and Other Members
Verifiability and Constraints
Primary Constraints
Secondary Constraints
Constructor Constraints
Other Verifiability Issues
13 Interfaces
Class and Interface Inheritance
Defining an Interface
Inheriting an Interface
More About Calling Interface Methods...
Implicit and Explicit Interface Method Implementations (Whats Happening Behind the Scenes)
Generic Interfaces
Generics and Interface Constraints
Implementing Multiple Interfaces That Have the Same Method Name and Signature
Improving Compile-Time Type Safety with Explicit Interface Method Implementations
Be Careful with Explicit Interface Method Implementations
Design: Base Class or Interface?
Part III Essential Types
14 Chars, Strings, and Working with Text
Characters
The System, String Type
Constructing Strings
Strings Are Immutable
Comparing Strings
……

本目錄推薦

掃描二維碼
Copyright ? 讀書網(wǎng) m.ranfinancial.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號(hào) 鄂公網(wǎng)安備 42010302001612號(hào)