What meant of assembly & global assembly cache (gac) & Meta data



What meant of assembly & global assembly cache (gac) & Meta data..

Answer / kirti

Assembly :-- An assembly is the primary building block of a .NET based application. It is a collection of functionality that is built, versioned, and deployed as a single implementation unit (as one or more files). All managed types and resources are marked either as accessible only within their implementation unit, or as accessible by code outside that unit. It overcomes the problem of 'dll Hell'.The .NET Framework uses assemblies as the fundamental unit for several purposes:

� Security

� Type Identity

� Reference Scope

� Versioning

� Deployment

Global Assembly Cache :-- Assemblies can be shared among multiple applications on the machine by registering them in global Assembly cache(GAC). GAC is a machine wide a local cache of assemblies maintained by the .NET Framework. We can register the assembly to global assembly cache by using gacutil command.

We can Navigate to the GAC directory, C:winntAssembly in explore. In the tools menu select the cache properties; in the windows displayed you can set the memory limit in MB used by the GAC

MetaData :--Assemblies have Manifests. This Manifest contains Metadata information of the Module/Assembly as well as it contains detailed Metadata of other assemblies/modules references (exported). It's the Assembly Manifest which differentiates between an Assembly and a Module.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

I have interview in accenture.I cleared 1st round in techniqual.I have interview with project lead.pls help me.

2 Answers   Accenture,


What is NonActionAttribute ?

0 Answers   Cognizant,


how do you truncate a table using entity data model?

0 Answers   Microsoft,


what is .edmx file and what it contains?

0 Answers   Microsoft,


What is the difference between old ADO.NET and Entity framework coding techniques?

0 Answers  






About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use ?

6 Answers   Infosys, Microsoft, MMTS,


Describe the .net framework architecture.

0 Answers  


What is the .net framework 3.0 (formerly winfx)?

0 Answers  


what is explicit loading?

0 Answers   Microsoft,


Difference between .NET & J2EE

1 Answers  


Explain the .net framework.

0 Answers  


Will c# 3.0, vb.net 9.0, atlas, or linq be included in the .net framework 3.0?

0 Answers  


Categories