Interview questions

.Net - Explain the role of assemblies

Next question>>           Learn .NET
.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.

Next question>>

Also read

.Net Assembly interview questions

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?...............

What are Satellite assemblies and how to generate Satellite assemblies?

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..............

.NET assemblies and resources

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.

Explain the concepts and capabilities of Assembly in .NET.

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..................

What benefit do you get from using a Primary Interop Assembly (PIA)?

A primary interop assembly contains type definitions (as metadata) of types implemented with COM................  

What are assemblies? Describe the types of assemblies.

Assembly is a compiled output of program which are used for easy deployment of an application.........

ASP.NET Globalization and Localization

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.............

Explain the role of assemblies in .NET.

Assemblies are main building blocks. An assembly maybe defined as a unit of deployment.........  

Write your comment - Share Knowledge and Experience


Latest placement tests
Latest links
Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring