-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: Swapnil_B1
Message 1 in Discussion

 
Metadata Overview   
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.  
Metadata describes every type and member defined in your code in a 
language-neutral manner. Metadata stores the following information:  
·                       Description of the assembly.  
o                                              Identity (name, version, 
culture, public key).  
o                                              The types that are exported.  
o                                              Other assemblies that this 
assembly depends on.  
o                                              Security permissions needed to 
run.  
·                       Description of types.  
o                                              Name, visibility, base class, 
and interfaces implemented.  
o                                              Members (methods, fields, 
properties, events, nested types).  
·                       Attributes.  
o                                              Additional descriptive elements 
that modify types and members.  Benefits of Metadata 
Metadata is the key to a simpler programming model, eliminating the need for 
Interface Definition Language (IDL) files, header files, or any external method 
of component reference. Metadata allows .NET languages to describe themselves 
automatically in a language-neutral manner, unseen by both the developer and 
the user. Additionally, metadata is extensible through the use of attributes. 
Metadata provides the following major benefits:  
·                       Self-describing files.  
Common language runtime modules and assemblies are self-describing. A module's 
metadata contains everything needed to interact with another module. Metadata 
automatically provides the functionality of IDL in COM, allowing you to use one 
file for both definition and implementation. Runtime modules and assemblies do 
not even require registration with the operating system. As a result, the 
descriptions used by the runtime always reflect the actual code in your 
compiled file, which increases application reliability.  
·                       Language interoperability and easier component-based 
design.  
Metadata provides all the information required about compiled code for you to 
inherit a class from a PE file written in a different language. You can create 
an instance of any class written in any managed language (any language that 
targets the common language runtime) without worrying about explicit marshaling 
or using custom interoperability code.  
·                       Attributes.  
The .NET Framework allows you to declare specific kinds of metadata, called 
attributes, in your compiled file. Attributes can be found throughout the .NET 
Framework and are used to control in more detail how your program behaves at 
run time. Additionally, you can emit your own custom metadata into .NET 
Framework files through user-defined custom attributes. 
Swapnil (Swaps) 
http://swapsnet.spaces.live.com/

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to