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

Explain how does assembly versioning work?

0 Answers  


How can you clean up objects holding resources from within the code?

2 Answers   Wipro,


How many design patterns can be created in .net?

0 Answers  


Please explain what are an inheritance, polymorphism, and encapsulation?

0 Answers  


What does jit compilation do in .net?

0 Answers  






How do you give a Windows service specific permissions?

1 Answers  


What is LINQ?

2 Answers   Ethos, MSP, TCS,


what is the use of stored procedure which has only one select statement over simple select statment query ? Why to write a stored procedure then ?

3 Answers  


If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?

0 Answers  


What is 3 tier architecture?

0 Answers  


What is the use of trace utility?

1 Answers  


What are the collections you've used?

0 Answers  


Categories