Overview
Overview
Overview
NET Framework
Rajeswari Indupuri
.NET – What Is It?
• Software platform
• Language neutral
• In other words:
.NET is not a language (Runtime and a library for
writing and executing written programs in any
compliant language)
What Is .NET
• .Net is a new framework for developing
web-based and windows-based applications
within the Microsoft environment.
• The framework offers a fundamental shift in
Microsoft strategy: it moves application
development from client-centric to server-
centric.
.NET – What Is It?
.NET Application
.NET Framework
Visual Studio.NET
ASP.NET: Web Services Windows
and Web Forms Forms
Appropriate
VB.NET compiler C# compiler
Compiler
IL(Intermediate
Language) code
CLR just-in-time
execution
Intermediate Language (IL)
• .NET languages are not compiled to machine code. They
are compiled to an Intermediate Language (IL).
• A technical definition
– “A programmable application component accessible
via standard Web protocols”
Web Services
• It is just an application…
• …that exposes its features and capabilities
over the network…
• …using XML…
• …to allow for the creation of powerful new
applications that are more than the sum of
their parts…
ADO.NET
(Data and XML)
• New objects (e.g., DataSets)
• Separates connected / disconnected issues
• Language neutral data access
• Uses same types as CLR
• Great support for XML
Visual Studio.NET
• Development tool that contains a rich set of
productivity and debugging features
.NET – Hierarchy, Another View
CLR
CLR
Summary
• The .NET Framework
– Dramatically simplifies development and deployment
– Provides robust and secure execution environment
– Supports multiple programming languages
Comparison between
J2EE and .NET
Comparison between J2EE and .NET Architectures
J2EE and .NET
Execution Engine
J2EE
Java source code compiles into machine-independent byte code
Runtime Environment : JVM
.NET
Any compliant language compiles into MSIL
Runtime environment : CLR
J2EE
Platform Independent
JDK should exist on target machine
.NET
Supports Windows platform
CLR should exist on target machine
Can support other platforms provided it has its own JIT
complier
J2EE and .NET
Language Support
J2EE
Tied to Java
Supports other languages via interface technology
.NET
Language independent
Supports any language if mapping exists from that
language to IL
J2EE and .NET
Tools Support
J2EE
Can employ any number of tools
Pro :Developer has a great deal of choice
Con :Difficulty in choosing a right tool for a given
job
.NET
Visual Studio.NET, single IDE for building an
application