Summary


In this chapter, you learned:

  • That C# programs and class libraries are delivered as assemblies, which have many features that ease the delivery of components in the Microsoft .NET Framework. Components provide for binary reuse of objects.

  • That the essential feature of .NET components is self-description; this distinguishes them from their historical ancestors (such as COM components).

  • That self-description has a number of benefits, including ease of installation and integration with the Common Language Runtime (CLR) to provide cross-language and legacy support, as well as C# development.

  • How to create a C# class library component and compile it into an assembly. You then created a C# application that used this component, and learned how to view the contents of assemblies using Ildasm.

  • About the various parts of an assembly, including the manifest.

  • About the assembly version number and other assembly attributes. Besides helping you to understand the structure, you learned how to compare version numbers in external references for debugging purposes.

  • That assemblies can be either private assemblies local to an application, or shared assemblies, which are available systemwide.

  • How to create shared assemblies by creating a key file and signing the project to create a strong name for the assembly. You also learned about version checking for shared assemblies, and looked at the Global Assembly Cache (GAC) where shared assemblies are stored.

  • How references to assemblies are searched and resolved in the .NET runtime. These features of assemblies all help to make delivery of applications in the .NET environment much easier.

In the next chapter, you learn more about attributes and how they apply to classes and methods as well as assemblies.




Beginning Visual C# 2005
Beginning Visual C#supAND#174;/sup 2005
ISBN: B000N7ETVG
EAN: N/A
Year: 2005
Pages: 278

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net