Explain manifest & metadata.

Answer Posted / rajsekhar

Metadata is the complete way of describing what is in
a .NET assembly. Digging into the 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. In the case of a multimodule assembly ever module
that contains IL must have the metadata embeded in it to
describe the types in that module. Every compiler targeted
for the .NET CLR is required to generate and embed the
metadata in the output file, and that metadata must be in a
standard format. .NET Reflection extensively uses the
metadata information to know the type information
dynamically

Manifest:
Metadata describes the contents in an assembly, whereas the
manifest describes the assembly itself, providing the
logical attributes shared by all the modules and all
components in the assembly. The manifest contains the
assembly name, version number, 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

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is different between webusercontrol and in webcustomcontrol?

545


What is manifest in .net?

612


How is threading done in .net?

560


How can you instantiate a tuple?

553


Can a try block have more than one catch block?

614






What is jit compilers?

578


What is SOAP? How you will do windows and forms authentication?

591


I'm having some trouble with cas. How can I troubleshoot the problem?

580


Please explain is the jit an interpreter?

586


Explain how to spawn a thread?

543


Explain the difference between the while and for loop.

587


Explain what is the difference between a class and an object?

602


Please explain what is a delegate?

693


What is UDDI and how to register the web service in it?

627


What is a web service in .net?

588