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
what do you mean by navigation property?
What is domain class model?
Is it possible to share a view across multiple controllers?
What is the role of the jit compiler in .net framework?
What is page life cycle?
What is oauth in web api?
How you can implement custom validation in asp.net MVC?
Do you know about the new features in ASP.Net MVC 4 ?
Is .net framework 4.8 the last version?
What is layout in mvc?
which are the key concepts of entity data model?
How OS come to know whether to load the .net framework when we run an .exe created using .Net framework?
Explain representational state transfer (rest) in detail?
What is the domain object?
Describe the gac in the .net framework.