Presentation 9
Presentation 9
Presentation 9
NET Framework
Minn Swe
Introduction
In other words:
.NET Application
.NET Framework
All .NET languages must obey the rules and standards imposed by CLR.
Examples:
• Object declaration, creation and use
• Data types,language libraries
• Error and exception handling
Architecture
Class Libraries
Assembly
CL Class Loader
JIT
CLR
Machine Code
7
Architecture
Visual Studio.NET
ASP.NET: Web Services Windows
and Web Forms Forms
Windows Forms
Framework for Building Rich Clients
– RAD (Rapid Application Development)
– Rich set of controls
– Data aware
– ActiveX® Support
– Licensing
– Accessibility
– Printing support
– Unicode support
– UI inheritance
Windows and Web application on .NET
framework
ASP.NET
OOP
JVM
component-
based design n-tier design
.NET goals
.NET features :
Multi-language support
Automatic resource management
Type safety
Elimination of DLL hell
Componet based
.NET goals
Multi-language support
• The JIT code stays in memory for subsequent calls. In cases where there is
not enough memory it is discarded thus making JIT process interpretive.
.NET goals
Compilation in .NET
Code in another
Code in VB.NET Code in C#
.NET Language
Appropriate
VB.NET compiler C# compiler
Compiler
IL(Intermediate
Language) code
CLR just-in-time
execution
.NET goals
Development Tools CL
app.exe
.NET goals
Type safety
Every data structure in all .NET supported languages has the same
layout.
This means that some code can consume types and instances
declared in other languages.
.NET goals
Component-based
Many motivations:
• team programming
• multi-language development (I like VB, you like
C#)
• code reuse (e.g. across different .EXEs)
• independent updating (update just component X)
Summary