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

If I have multiple filters implemented, what is the order in which these filters get executed?

0 Answers  


Requirement is: try { \\SQL Query } catch(Exception i) { print a } catch(SQLQueryException e) { \\SQL Query } Qu)I Got Exception in "try" block. Which "catch" statement (i.e. 1st catch or 2nd catch ) catches the exception and Why???

6 Answers   3i Infotech,


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

0 Answers  


What is ViewStart Page in ASP.Net MVC?

0 Answers   B-Ways TecnoSoft,


What is html.renderpartial?

0 Answers  






What is the use of dataadapter ?

5 Answers   Arvato,


What are the levels at which filters can be applied in an asp.net mvc application?

0 Answers   NA,


Possible ways to prevent xss attacks on mvc application?

0 Answers  


Why do I get errors when I try to serialize a Hashtable

1 Answers  


What is .net framework & its benefits?

0 Answers  


What is the advantage of mvc?

0 Answers  


what are abstract classes? what is overriding?

12 Answers  


Categories