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

Posted by Programmer123 under C# on 12/19/2013 | Points: 10 | Views : 1127 | Status : [Member] | Replies : 4
What meant of assembly & global assembly cache (gac) & Meta data. Please ex-plane.




Responses

Posted by: Allemahesh on: 12/20/2013 [Member] [MVP] Silver | Points: 50

Up
0
Down

Resolved
Below points will clear your questions.

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

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

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

If this help, click on Mark As Answer link.

Happy coding.

Programmer123, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: vishalneeraj-24503 on: 12/19/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
http://www.akadia.com/services/dotnet_assemblies.html
http://www.codeproject.com/Articles/3262/A-NET-assembly-viewer

Programmer123, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: vishalneeraj-24503 on: 12/19/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
For global assembly cache refer:-
http://www.codeproject.com/Articles/4352/Demystifying-the-NET-Global-Assembly-Cache
http://msdn.microsoft.com/en-us/library/yf1d93sz%28v=vs.110%29.aspx
http://www.visualbuilder.com/dotnet/tutorial/gac-%28global-assembly-cache%29/

For Meta data:-
http://en.wikipedia.org/wiki/Metadata_%28CLI%29
dotnet.dzone.com/articles/extracting-file-metadata-c-and
http://odetocode.com/articles/288.aspx


Programmer123, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response