Team LiB
Previous Section Next Section

Chapter 12. Assemblies and AppDomains

IN BRIEF

This chapter will take you on a tour of assemblies and AppDomains, two of the most important core pieces of the .NET Framework. To learn any part of the .NET Framework, from the most simple application development techniques to advanced programming, you must have a thorough understanding of AppDomains and assemblies.

The first half of this chapter is dedicated to the assembly, a logical storage unit used by the .NET Framework for multiple purposes. The latter half of this chapter introduces you to the AppDomain and gives you enough information that you can progress to dealing with the innermost workings of AppDomains by writing code that makes use of both assemblies and AppDomains.

WHAT YOU NEED

RECOMMENDED SOFTWARE

.NET Framework SDK v1.1

Visual Studio .NET 2003 with C# installed

RECOMMENDED HARDWARE

PC that meets .NET SDK minimum requirements

SKILLS REQUIRED

C# and .NET familiarity


ASSEMBLIES AND APPDOMAINS AT A GLANCE

Assemblies

243

  

Introduction to Assemblies

243

  

Assembly Building Blocks

243

  
 

Introducing the Assembly Manifest

244

Inside the AssemblyMSIL Code

247

 

Metadata

246

Assembly Resources

247

Creating Assemblies

247

  

Embedding Content and Resources in Assemblies

251

  

Localization and Satellite Assemblies

255

  
 

Satellite Assemblies

256

  

AppDomains

259

  
 

Introduction to AppDomains

259

Programming with AppDomains

260

Putting It TogetherA Real-World Example

264

  
 

Building Application Plug-Ins

273

  


    Team LiB
    Previous Section Next Section