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

Show different types of collection in .NET?

586


What tools can I use to develop .net applications?

569


Using activex control in .net?

553


What is meant by globalization?

569


What is garbage collection? Explain the difference between garbage collections in .net 4.0 and earlier versions?

707






How to view a .NET assembly?

600


What is garbage collection in .net? Explain the garbage collection process?

562


Explain soap and xml?

556


Explain what inheritance is, and why it's important?

506


Explain what do the terms “boxing” and “unboxing” mean?

576


Tell us what is json data, and what is one way that .net developers can work with json?

568


What should you do to store an object in a viewstate?

561


Explain the different types of proxy patterns?

684


What is the transport protocol you use to call a seb service soap?

531


Explain what relationship is between a process, application domain, and application?

617