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 ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can you enhance the performance of entity framework?

833


What are the advantages of mvc over asp.net?

788


What is connected scenario? : Entity framework

772


List the new features added in .net framework 4.0.

734


Explain bundle.config in mvc4?

874


How do you handle variable number of segments in a route definition?

769


What is a model in programming?

778


Can you set the unlimited length for "maxjsonlength" property in config?

752


How to Redirect Tracing to a File

812


How to return the JSON from action method in ASP.Net MVC?

961


What is entity client data provider? : Entity framework

781


What is the advantage of mvc?

825


What is the use of razor view engine?

745


Can I set the unlimited length for "maxjsonlength" property in config?

797


Difference between ASP.NET MVC and ASP.NET WebForms?

824