DocumentCode
817689
Title
How .NET´s custom attributes affect design
Author
Newkirk, James ; Vorontsov, Alexei A.
Volume
19
Issue
5
fYear
2002
Firstpage
18
Lastpage
20
Abstract
In its first release of the .NET Framework, Microsoft has provided a defined method for adding declarative information (metadata) to runtime entities in the platform. These entities include classes, methods, properties, and instance or class variables. Using .NET, you can also add declarative information to the assembly, which is a unit of deployment that is conceptually similar to a .dll or .exe file. An assembly includes attributes that describe its identity (name, version, and culture), informational attributes that provide additional product or company information, manifest attributes that describe configuration information, and strong name attributes that describe whether the assembly is signed using public key encryption. The program can retrieve this metadata at runtime to control how the program interacts with services such as serialization and security. We compare design decisions made using custom attributes in .NET with the Java platform.
Keywords
Java; meta data; naming services; network operating systems; virtual machines; .NET; Java platform; assembly; custom attributes; declarative information; identity; informational attributes; manifest attributes; metadata; public key encryption; runtime entities; security; serialization; strong name attributes; Java; Process control; Programming profession; Reflection; Runtime; Software design; Testing; World Wide Web;
fLanguage
English
Journal_Title
Software, IEEE
Publisher
ieee
ISSN
0740-7459
Type
jour
DOI
10.1109/MS.2002.1032846
Filename
1032846
Link To Document