by Sarthak Gupta 1109031149 EC 4-c
by Sarthak Gupta 1109031149 EC 4-c
by Sarthak Gupta 1109031149 EC 4-c
NET
- By
Sarthak Gupta
1109031149
EC 4-c
What is .NET?
Microsofts vision of the future of
applications in the Internet age
Increased robustness over classic Windows
apps
New programming platform
Built for the web
.NET
Sits on top on the OS (currently all the Windows;
Linux/Unix subset also available Mono Project)
About 20MB download
History
.NET Overview
Three main elements:
The Framework (CLR, FCL, ASP, WinForms)
The Products (Windows, Visual Studio, Office)
The Services (My Services)
Framework Goals
Improved reliability and integrated security.
Simplified development and deployment.
Unified API, multi-language support.
.NET Framework
C#
VB.NET
C++.NET
Other
Windows Forms
Web Forms
Controls
Drawing
ADO.NET
XML
Threading
IO
Network
Security
Diagnostics
Etc.
Operating System
Lifecycle Monitoring
Visual
Studio
.NET
Framework Libraries
Web Services
Expose application functionalities across the Internet, in the same
way as a class expose services to other classes.
Each Web service can function as an independent entity, and can
cooperate with one another.
Data described by XML.
ASP.NET
Replacement for the Active Server Technology.
Web Forms provide an easy way to write interactive Web
applications, much in the same way as normal Windows
applications.
Framework Libraries
Provides facilities to generate Windows
GUI-based client applications easily
Form-oriented
Standard GUI components
buttons, textboxes, menus, scrollbars, etc.
Event-handling
C#
COBOL
Eiffel
Fortran
Mercury
Pascal
Python
SML
Perl
Smalltalk
VB.NET
VC++.NET
J#.NET
Scheme
.
J2 Enterprise Edition
Language-Dependent & Platform-Independent
.NET
Language-Independent & Platform Dependent (for now)
J2EE: Language-Specific,
Platform- Independent
Linux
Person.java
Java VM
Person
bytecodes
Java VM
Deploy
Address
bytecodes
Windows
Java VM
Company
bytecodes
Solaris
Address.java
Company.java
Java VM
.NET: Language-Independent,
(Mostly) Platform- Specific
Person.vb
Windows
(Visual Basic)
CLR
Person
MSIL
CLR
Deploy
Address
MSIL
Windows
CLR
Company
MSIL
Others?
Address.cs
(C#)
Company.cbl
(Cobol)
CLR
.NET
.NET built into Windows; running an executable
invokes the CLR automatically instead of
explicitly invoking the JVM
Being newer, .NET added improvements such as
native XML support, new features to CLR
About 3 million C++ developers, 3-8 million VB
developers, around 1 million C# developers
Today, most development and deployment is
Windows
Mono
Implementation of ECMA C# and CLI for Linux
http://www.mono-project.com
Summary
Next we will study C#
C# does not exist in isolation but has a close
connection with the .NET framework
.NET
CLR a relatively new, Java-like platform, but
multi-language
SrcMSILJITNative Code
.NET framework includes many class libraries