Explain manifest & metadata.

Answers were Sorted based on User's Feedback



Explain manifest & metadata...

Answer / narayan sahu(netx)

manifest
Every assembly, whether static or dynamic, contains a
collection of data that describes how the elements in the
assembly relate to each other. The assembly manifest
contains this assembly metadata. An assembly manifest
contains all the metadata needed to specify the assembly's
version requirements and security identity, and all
metadata needed to define the scope of the assembly and
resolve references to resources and classes. The assembly
manifest can be stored in either a PE file (an .exe
or .dll) with Microsoft intermediate language (MSIL) code
or in a standalone PE file that contains only assembly
manifest information.
Metadata
Metadata is binary information describing your program that
is stored either in a common language runtime portable
executable (PE) file or in memory. When you compile your
code into a PE file, metadata is inserted into one portion
of the file, while your code is converted to Microsoft
intermediate language (MSIL) and inserted into another
portion of the file. Every type and member defined and
referenced in a module or assembly is described within
metadata. When code is executed, the runtime loads metadata
into memory and references it to discover information about
your code's classes, members, inheritance, and so on.

Is This Answer Correct ?    17 Yes 4 No

Explain manifest & metadata...

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

Explain manifest & metadata...

Answer / krupali

In asp.net 2.0 collection of file are called assembly.and
in these assembly one file(EXE or .DLL)contains a special
metadata called manifest.and these manifest is stored as
binary data and contains the detail like versioning
requirements for the assembly,the author,security
permissions,and list of files forming the assembly.while
the metadata is called data about data.

Is This Answer Correct ?    13 Yes 5 No

Explain manifest & metadata...

Answer / pankaj purohit

Manefest:- in simple way we can say complete hierarchical
information about the program.
&
Meatadata:- Basically it has two part
1. Information about the data.
2. Information about the program.

Information about the data :- When Program is ready for
execution (will create .dll or .exe)

Information about the program :- it carry by the MSIL
ex. product name, copy write, trademark, vision, Culture.

Is This Answer Correct ?    0 Yes 0 No

Explain manifest & metadata...

Answer / sunil

I hope this could also be very use full link.
http://msdn.microsoft.com/en-us/library/1w45z383.aspx

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Dot Net General Interview Questions

How do you turn off cookies for one page in your site? Give an example.

0 Answers  


Explain what rare the types of jit and what is econo-jit?

0 Answers  


Which Namespace is used to to achieve MultiThreading in .NET?

0 Answers  


Please explain what is heap and what is stack?

0 Answers  


Explain the difference between the while and for loop.

0 Answers  






What exactly is being serialized when you perform serialization in .net?

0 Answers  


What are the types of jit?

0 Answers  


How do you instantiate a complex number?

0 Answers  


What are the differences between an interface and an abstract class in .net?

0 Answers  


What is WSDL and disco file ?

3 Answers   CybAge, IBM, TCS,


What is a metadata in .net?

0 Answers  


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

0 Answers  


Categories