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

what is assembly?

2 Answers   Manhattan,


I was working for software company frm 2005 to 2009. I left job due to recession.I was jobless till dec 09 then i got job in bpo and i am not knowing what to do as my professional experience is with software.give me any suggestion.

0 Answers  


What is CLR? How it will work?

3 Answers   NeoSoft,


What is reflection and what is it for?

0 Answers  


How different are interface and abstract class in .Net?

2 Answers  






What are situations when you register .NET assembly in GAC ?

0 Answers   UGC Corporation,


Is it possible implement webservices without SOAP?

2 Answers   HCL,


How to store and retrieve images in SQL server database through VB.NET?

1 Answers  


What makes .net core cross platform?

0 Answers  


What method do you use to explicitly kill a users session? How?

0 Answers  


Explain when should you use .net web forms over asp.net mvc?

0 Answers  


What’s different between process and application in .net?

0 Answers  


Categories