![]() CATEGORIES: BiologyChemistryConstructionCultureEcologyEconomyElectronicsFinanceGeographyHistoryInformaticsLawMathematicsMechanicsMedicineOtherPedagogyPhilosophyPhysicsPolicyPsychologySociologySportTourism |
Chapter 3 Shared Assemblies and Strongly Named Assemblies 65Contents at a Glance
Contents Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii
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
Date: 2016-03-03; view: 903
|