.Net - Explain the role of assemblies in .NET. - June 03,
2009 at 11:00 AM by Shuchi Gauri
Explain the role of assemblies in .NET.
Assemblies are main building blocks. An assembly maybe 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 where as private
assemblies reside in applications directory.
Also read
Define .Net Assembly.
What does an assembly contain?
Define a private assembly and a shared assembly.
What are Satellite Assemblies?
What do you understand by side-by-site execution of assembly?
How do you create a resource-only assembly?
Explain how to retrieve resources using ResourceManager class.
Define Strong Name. How do you apply a strong name to assembly?...............
To support the feature of multiple languages, we need to create different
modules that are customized on the basis of localization. These assemblies
created on the basis of different modules are knows as satellite
assemblies..............
Define Assembly.
What is manifest?
Explain GAC.
What is the use of SN.EXE?
What is a Satellite assembly?.................
Al.exe: It embeds the resources into a satellite assembly. It takes the
resources in .resources binary format.
An assembly is a collection of files (dll’s, exe’s), group of resources that
help in creating a logical unit of functionality. It forms the basic building
block for deployment, reusability and security issues..................
A primary interop assembly contains type definitions (as metadata) of types
implemented with COM................
Assembly is a compiled output of program which are used for easy deployment of
an application.........
What is Globalization and Localization in ASP.NET?
What are the Globalization approaches possible in ASP.NET?
Implementing ASP.NET Globalization
Define Resource Files and Satellite Assemblies.............
Assemblies are main building blocks. An assembly maybe defined as a unit of
deployment.........
|