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 does stateless mean?

0 Answers   BirlaSoft,


What are the two kinds of properties.

2 Answers   Wipro,


In Mvc Architecure what is view?

1 Answers   TCS,


What is the difference between user control an custom control? Advantages/disadvantages?

0 Answers  


Compare client server application with n-tier application

0 Answers  






What is the difference between constants and read-only variables?

0 Answers  


What is new in .net core?

0 Answers  


What is a formatter in .net?

0 Answers  


Give a brief introduction on side-by-side execution. Can two applications, one using private assembly and the other using the shared assembly be stated as side-by-side executables?

0 Answers  


If any body working in Infosys, please can u give me the referense to that company because i hered that their is openings for freshers with referal..

0 Answers  


What is Serialiazation?

1 Answers   TCS,


Describe the role of global.asax.

2 Answers  


Categories