Introduction :

In this blog we can see what is a assemblies in C# .Net.

What is a .Net Assemblies :

The assembly format used by Microsoft.NET components is known as.NET. Dot NET assemblies could exist as an executable (.exe) file or a dynamic link library (DLL) file, depending on whether they are or are not executable. The types’ definitions, versioning information, meta-data, and manifest are all included in every.NET assembly. The component (assembly) resolution was a major focus of the.NET designers’ efforts.

A single file can make up an assembly, or it can be made up of several files. While other assemblies exist as non-manifest modules, there is only one master module in the case of multi-file that contains the manifest. A multi-file.NET assembly’s component in.NET is known as a module. Assembly is one of the most fascinating and beneficial branches of

.NET supports three kinds of assemblies:

1.private
2.shared
3.satellite

1.Private Assemblies :

If we want to use the functionalities of a private assembly, we must copy it separately into each application folder; if we don’t copy it, we cannot access the features and power of the private assembly. Private assembly entails only copying into the BIN folder of each application folder whenever we have one.
2. Shared Assemblies : 

Shared assemblies (also called strong named assemblies) are copied to a single location (usually the Global assembly cache). For all calling assemblies within the same application, the same copy of the shared assembly is used from its original location. Hence, shared assemblies are not copied in the private folders of each calling assembly. Each shared assembly has a four-part name including its face name, version, public key token, and culture information. The public key token and version information makes it almost impossible for two different assemblies with the same name or for two similar assemblies with a different version to mix with each other.

GAC (Global Assembly Cache) : 

When an assembly is needed for multiple projects or applications, we must give it a strong name and retain it in the GAC or the Assembly folder by installing the assembly using the GACUtil command.

Satellite Assembly :

Language- and culture-specific resources are distributed for an application using satellite assemblies.

For any Help or Queries Contact us on info@crmonce.com or +918096556344