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

What is entitycontainer? : Entity framework

780


Is the following route definition a valid route definition? {controller}{action}/{id}

994


Will there be a .net compact framework 3.0 release with release of .net framework 3.0?

755


how do you query in entity model when the result has a join from from different database other than the entity model?

753


What is difference between razor and web form engine?

770


What is Area in ASP.Net MVC?

824


What is objectset? : Entity framework

747


What are Scaffold templates in ASP.Net MVC?

773


what is use of entity container?

801


Explain Bundle.Config in ASP.Net MVC4?

777


Explain the advantages and disadvantages of ASP.Net MVC over ASP.NET?

747


What is clr? How does work clr & wht is work of clr?

788


Explain the role of assembly in the .net framework.

782


What is the greatest advantage of using asp.net mvc over asp.net webforms?

753


Can you explain renderbody and renderpage in mvc?

782