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

Whate are resource files?

687


What is the microsoft .net?

684


What do you mean by web service?

745


Explain the different types of proxy patterns?

793


Is .net a language?

659






How does linq work?

701


Explain the difference between asp.net and asp?

645


Do you know what is .net standard?

666


What is multiThreading in .NET?

683


Explain Different kinds of methods?

1728


Tell us what is heap and what is stack?

660


Is .net core stable?

580


What is a .DLL and .EXE files called in .NET?

699


Difference between class and interface in .net?

666


Please explain the difference between constants and read-only variables?

625