Difference between manifest , metadata?

Answer Posted / sri4u_926

Manifest Maintains the information about the assemblies
like version, name locale and an optional strong name that
uniquely identifying the assembly. This manifest
information is used by the CLR. The manifest also contains
the security demands to verify this assembly. It also
contains the names and hashes of all the files that make up
the assembly. The .NET assembly manifest contains a
cryptographic hash of different modules in the assembly.
And when the assembly is loaded, the CLR recalculates the
hash of the modules at hand, and compares it with the
embeded hash. If the hash generated at runtime is different
from that found in the manifest, .NET refuses to load the
assembly and throws an exception.

Metadata means Data about the data.metadata yields the
types available in that assembly, viz. classes, interfaces,
enums, structs, etc., and their containing namespaces, the
name of each type, its visibility/scope, its base class,
the interfaces it implemented, its methods and their scope,
and each method’s parameters, type’s properties, and so on.
The assembly metada is generated by the high-level
compilers automatically from the source files. The compiler
embeds the metadata in the target output file, a dll,
an .exe or a .netmodule in the case of multi-module
assembly.

Is This Answer Correct ?    38 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what do you mean by navigation property?

592


What is domain class model?

514


Is it possible to share a view across multiple controllers?

517


What is the role of the jit compiler in .net framework?

625


What is page life cycle?

529






What is oauth in web api?

524


How you can implement custom validation in asp.net MVC?

578


Do you know about the new features in ASP.Net MVC 4 ?

593


Is .net framework 4.8 the last version?

530


What is layout in mvc?

565


which are the key concepts of entity data model?

605


How OS come to know whether to load the .net framework when we run an .exe created using .Net framework?

567


Explain representational state transfer (rest) in detail?

547


What is the domain object?

541


Describe the gac in the .net framework.

572