Home Random Page


CATEGORIES:

BiologyChemistryConstructionCultureEcologyEconomyElectronicsFinanceGeographyHistoryInformaticsLawMathematicsMechanicsMedicineOtherPedagogyPhilosophyPhysicsPolicyPsychologySociologySportTourism






Chapter 3 Shared Assemblies and Strongly Named Assemblies 65

Contents at a Glance

PART I Introduction CLR BASICS xxiii
CHAPTER 1 The CLR’s Execution Model
CHAPTER 2 Building, Packaging, Deploying, and Administering Applications and Types
CHAPTER 3 Shared Assemblies and Strongly Named Assemblies
PART II DESIGNING TYPES  
CHAPTER 4 Type Fundamentals
CHAPTER 5 Primitive, Reference, and Value Types
CHAPTER 6 Type and Member Basics
CHAPTER 7 Constants and Fields
CHAPTER 8 Methods
CHAPTER 9 Parameters
CHAPTER 10 Properties
CHAPTER 11 Events
CHAPTER 12 Generics
CHAPTER 13 Interfaces
PART III ESSENTIAL TYPES  
CHAPTER 14 Chars, Strings, and Working with Text
CHAPTER 15 Enumerated Types and Bit Flags
CHAPTER 16 Arrays
CHAPTER 17 Delegates
CHAPTER 18 Custom Attributes
CHAPTER 19 Nullable Value Types


 
 


Contents

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii

PART I CLR BASICS

Chapter 1 The CLR’s Execution Model 3

Compiling Source Code into Managed Modules . . . . . . . . . . . . . . . . . . . . . . 3 Combining Managed Modules into Assemblies . . . . . . . . . . . . . . . . . . . . . . . 6 Loading the Common Language Runtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Executing Your Assembly’s Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

IL and Verification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

Unsafe Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 The Native Code Generator Tool: NGen .exe . . . . . . . . . . . . . . . . . . . . . . . . . 19

The Framework Class Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

The Common Type System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

The Common Language Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

Interoperability with Unmanaged Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

 



Chapter 2 Building, Packaging, Deploying, and

Administering Applications and Types 33

.ENT Framework Deployment Goals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34

Building Types into a Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

Response Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

A Brief Look at Metadata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

 



 
 

What do you think of this book? We want to hear from you!

 
 

Microsoft is interested in hearing your feedback so we can continually improve our books and learning resources for you. To participate in a brief online survey, please visit:

Vii


Combining Modules to Form an Assembly................................................ 45

Adding Assemblies to a Project by Using the Visual Studio IDE .. . 51 Using the Assembly Linker ..................................................................................................... 52

Adding Resource Files to an Assembly............................................ 53

Assembly Version Resource Information................................................... 54

Version Numbers.................................................................................. 58

Culture............................................................................................................... 59

Simple Application Deployment (Privately Deployed Assemblies)....... 60

Simple Administrative Control (Configuration).......................................... 62

Chapter 3 Shared Assemblies and Strongly Named Assemblies 65

Two Kinds of Assemblies, Two Kinds of Deployment.............................. 66

Giving an Assembly a Strong Name............................................................ 67

The Global Assembly Cache......................................................................... 72

Building an Assembly That References a Strongly Named Assembly.... 74

Strongly Named Assemblies Are Tamper-Resistant................................ 75

Delayed Signing.............................................................................................. 76

Privately Deploying Strongly Named Assemblies..................................... 79

How the Runtime Resolves Type References............................................ 80

Advanced Administrative Control (Configuration).................................... 83

Publisher Policy Control...................................................................... 86

PART II DESIGNING TYPES


Date: 2016-03-03; view: 762


<== previous page | next page ==>
Money: history, functions and forms. | Chapter 4 Type Fundamentals 91
doclecture.net - lectures - 2014-2024 year. Copyright infringement or personal data (0.006 sec.)