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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of mvc?

612


Explain something about model, view and controllers in asp.net mvc?

552


What is main objective of asp.net mvc 4 or what is new in mvc4 ?

591


what is entity data model?

585


Can we free memory explicitly without waiting for garbage collector to free the memory in .net compact framework?

533






If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

1968


What is Attribute Routing in ASP.Net MVC?

589


Explain how to use multiple submit buttons in ASP.Net MVC?

638


Mention what is the difference between “ActionResult” and “ViewResult” ?

573


Is .net core faster than .net framework?

545


What is attribute routing in mvc?

573


Why should we go for entity framework?

516


What is the use of razor view engine?

523


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

548


Which .net framework is installed?

497