Difference between manifest , metadata?

Answers were Sorted based on User's Feedback



Difference between manifest , metadata?..

Answer / 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

Difference between manifest , metadata?..

Answer / srikant dwibedi

Assembly metadata is stored in Manifest. Manifest contains
all the metadata needed to do the following things.
Version of assembly
Security identity
Scope of the assembly
Resolve references to resources and classes.
The assembly manifest cdan be stored in either a PE file
(an .exe or .dll) with Microsoft intermediate languages
(MSIL) code or in stand-alone PE file that contains ony
assembly manifest information.

Is This Answer Correct ?    20 Yes 5 No

Difference between manifest , metadata?..

Answer / prashanthi

Manifest contains Metadata(About Assembly).It consists of
Name of the Assembly
Version of the Assembly
Scope of Assembly
Metadata is data about data.

Is This Answer Correct ?    10 Yes 1 No

Post New Answer

More Dot Net Framework Interview Questions

What is domain class model?

0 Answers  


What type of filter does outputcacheattribute class represents?

0 Answers  


What are ajax helpers in asp.net mvc?

0 Answers  


What is gacutil.exe. Where do we store assemblies ?

5 Answers   Accenture, BirlaSoft,


How would you deploy your old applications with .net framework 4.0? Are the old applications compatible?

0 Answers  






What is the difference between Finalize and Dispose (Garbage collection)

1 Answers  


mention what is csdl, ssdl and msl sections in an edmx file?

0 Answers   Microsoft,


What is meant by bootstrap in mvc5?

0 Answers  


What is the use of viewmodel in mvc?

0 Answers  


What is meant by viewdata?

0 Answers  


What is the "helperpage.isajax" property?

0 Answers  


What is edm in entity framework?

0 Answers  


Categories