Difference between manifest , metadata?

Answer Posted / sri4u_926

Manifest Maintains the information about the assemblies
like version, name 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. It also
contains the names and hashes of all the files that make up
the assembly. The .NET assembly manifest contains a
cryptographic hash of different modules in the assembly.
And when the assembly is loaded, the CLR recalculates the
hash of the modules at hand, and compares it with the
embeded hash. If the hash generated at runtime is different
from that found in the manifest, .NET refuses to load the
assembly and throws an exception.

Metadata means Data about the data.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.

Is This Answer Correct ?    38 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the advantage of packaging over xcopy in .net?

540


i want to take the fast track training on >net Frame work and work flows and share point could you tellme the good institutes for that cources

1573


Name a few different return types of a controller action method?

535


How can you return string result from Action in ASP.Net MVC?

550


What is definingquery in entity framework? : Entity framework

544






What are Non Action methods in ASP.Net MVC?

591


What is managed extensibility framework?

555


What are the 3 main components of an asp.net mvc application?

534


What is objectcontext? : Entity framework

585


What are the new enhancements done in default project template of asp.net mvc 4?

575


Explain how you can send the result back in JSON format in MVC?

571


How route table has been created in ASP.NET ASP.Net MVC?

544


How OS come to know whether to load the .net framework when we run an .exe created using .Net framework?

565


What are non action methods in mvc?

542


What are html helpers in asp.net mvc?

551