Page 18 - DCAP312_WEB_TECHNOLOGIES_II
P. 18
Web Technologies-II
Notes method invocations, generate native code, enforce security, and set run time context boundaries.
The runtime automatically handles objects, releasing them when they are no longer being used.
Objects whose lifetimes are managed in this way are called managed data. Automatic memory
management eliminates memory leaks as well as many other common programming errors.
The CLR makes it easy to design components and applications whose objects interact across
languages. For example, you can define a class and then use a different language to derive
a class from your original class, or call a method on the original class. You can also pass an
instance of a class to a method on a class written in a different language. This cross language
integration is possible because of the common type system defined by the runtime, and they
follow the runtime’s rules for defining new types, as well as for creating, using, persisting, and
binding to types.
Language compilers and tools expose the runtime’s functionality in ways that are intended to be
useful and intuitive to their developers. This means that some features of the runtime might be
more noticeable in one environment than in another. How you experience the runtime depends
on which language compilers or tools you use. The following benefits of the runtime might be
particularly interesting to you:
• Performance improvements.
• The ability to easily use components developed in other languages.
• Extensible types provided by a class library.
• A broad set of language features.
1.5 Understanding the Various Components of the .NET Platform
The .NET framework has following comppnents:
1.5.1 Common Language Runtime
At the core of the .NET platform is the Common Language Runtime (CLR). The CLR simplifies
application development, provides a robust and secure execution environment, supports multiple
languages and simplifies application deployment and management.
The Figure 1.5 below provides more details on the CLR’s features:
Figure 1.5: CLR Features.
12 LOVELY PROFESSIONAL UNIVERSITY