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

How server form post-back works?

675


How we can achieve Connection pooling in .Net?

734


How do we access crystal reports in .net?

683


Difference between abstract class and interface in .net?

648


Differences between datagrid, datalist and repeater in .net?

615






How to use datagrid value in select statements where condition ,if cell is hyperlink bounded column?

623


What are .net functions?

627


Explain difference between panel and groupbox classes using .net?

615


State some of the different languages supported by .net?

636


What is lambda expressions in c#?

681


What's the problem with .net generics?

643


What is managed code execution?

688


What is an anonymous method and how is it different from a lambda expression?

621


Explain what is the difference between odbc and ado?

599


Difference between dispose and finallize method?

778