Explain the role of assembly in the .Net Framework - .NET Framework

Explain the role of assembly in the .Net Framework.

- The .Net Framework keeps executable code or DLL in the form of assembly.

- The .Net Framework maintains multiple versions of the application in the system through assembly.

- The assemblies have MSIL code and manifest that contains metadata.

- The metadata contains version information of the assembly.

- Assemblies are the main building blocks.

- An assembly may be defined as a unit of deployment.

- A single assembly is a collection of types, and resources.

- The CLR does not understand any types that are outside assemblies.

- The CLR executes the code in assemblies as they contain MSIL code.

- They define type, version and security boundaries.

- Assemblies in .Net are a solution to the DLL hell problem as one can use different versions of same assembly in different applications at the same time.

- To make a shared assembly, we need to register it with GAC whereas private assemblies reside in the application directory.
Describe the GAC in the .Net Framework - .NET Framework
.Net Framework provides Global Assembly cache, a machine-wide cache...
What is the advantage of packaging over xcopy in .NET? - .NET Framework
.NET Framework - The most trivial technique to publish a website is to simply copy your web application files to the production server.....
25 .NET Basic Interview Questions and Answers
.NET Basic questions and answers - the section carries questions such as Difference between Namespace and Assembly, Explain the concept of strong names., GAC, What is a Satellite assembly?, How do you install assembly to the Global Assembly Cache? etc.
Post your comment