In Brief

In this chapter, we looked at assemblies and security issues. Here's an overview of the topics:

  • Assemblies are the fundamental unit of deployment, security, and versioning in C#. A great deal of metadata about the assembly can be found in the assembly's manifest. You can set assembly attributes, such as AssemblyVersionAttribute, in code. Assemblies are .EXE or .DLL files.

  • You can store multiple modules in the same assembly using the assembly linker, al.exe. You can't create multi-module assemblies using C# in the IDE yet.

  • Shared assemblies must have a strong name, and they can be stored in the Global Assembly Cache (GAC). You can generate strong names with the sn tool, and you can add assemblies to the GAC with the gacutil tool, or by ...

Get Microsoft® Visual C#® .NET 2003 Kick Start now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.