Explain manifest & metadata.

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the classes that are introduced in the system.numerics namespace.

637


Explain the top .net class that everything is derived from?

559


What is a garbage collector?

624


How to instantiate a delegate?

1649


Explain what is the difference between a class and an object, and how do these terms relate to each other?

544






what user controls are and what server controls are and the differences between the two.

1611


Explain the use of activex control in .net?

578


What is managed code in .NET?

644


What are the different types of Classes in .NET?

610


How you apply a theme in whole application in .Net?

593


How can you instantiate a tuple?

553


Explain me how does linq work?

592


What is .net3.0 and .net3.5?

563


Explain about .NET services?

630


Explain something about WebService?

681