2. .NET – What Is It?
It’s a Software platform
It’s Language neutral
In other words:
.NET is not a language (It’s runtime
environment and a library of classes
(Assemblies) for writing and executing programs
in any compatible language)
3. What Is .NET
.Net is a framework for developing web-based
and windows-based applications within the
Microsoft environment.
The .Net framework has moved application
development paradigm from client-centric to
server-centric.
4. Base Class Library
Common Language Specification
Common Language Runtime
ADO.NET: Data and XML
VB VC++VC#
ASP.NET: Web Services
and Web Forms
JScript Etc…
Windows
Forms
Framework, Languages, And Tools
5. The .NET Framework The Evolution
2.0
(2005)
• Common Language Runtime
• Base Class Library
• WinForms, Asp.net, ADO.NET
3.0
(2006)
• WPF
• WCF
• WF
• Card Space
3.5
(2008)
• LINQ
• ADO.Net entity Framework
4.0
(2010)
• Parallel LINQ
• Task Parallel Library
4.5
(2012)
• Modern UI Runtime
• Task based Async. Model
6. Common Language Runtime
(CLR)
CLR works like a virtual machine in executing all
languages.
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
Etc…
7. Common Language Runtime
Development
Mixed language applications
Common Language Specification (CLS)
Common Type System (CTS)
Standard class framework
Automatic memory management
Consistent error handling and safer execution
Potentially multi-platform
Primary important things of CLR
Garbage connection.
CAS (Code Access Security)
CV (Code verification)
IL to native code translation
9. Intermediate Language (IL)
.NET languages are not compiled directly to
machine code. They are compiled to an
Intermediate Language (IL) by respective
language compiler.
CLR gets the IL code and recompiles it to
machine code. The recompilation happens in
just-in-time (JIT) meaning it is done as soon as a
function or subroutine is called.
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.
10. Languages
Languages provided by Microsoft
VB, C++, C#, J#, Jscript, F#
Third-parties are building
APL, COBOL, Pascal, Eiffel, Haskell, ML,
Oberon, Perl, Python, Scheme, Smalltalk……..
11. .NET Supported Languages
C
C#
C++
Caml
CAT
CAT (Christopher Diggins)
Java
JavaScript
Lexico
LISP
DotLisp (Rich Hickey)
L# (L Sharp .NET) - LISP-based script
language
FOIL - (Rich Hickey and Eric Thorsen)
RDNZL - .NET Layer for Common Lisp
(Edi Weitz)
LOGO
IL/MSIL
MSIL (Microsoft)
ilasm (IL Assembler Microsoft)
ilasm (Mono/Ximian)
Portable.NET Assembler
Lua
Mercury
Mixal Assembly Language
Modula-2
GPM/CLR (Queensland University of
Technology)
Mondrian
COBOL
CULE
Eiffel
Forth
Scheme
Smalltalk
SML
Synergy
Tcl/Tk
Visual Bas
FORTRAN
Haskell
Oberon
Nemerle
Pan
Perl
Pascal variants:
Delphi (Borland)
PHP
Ada
APL
Dyalog APL (Dyalog Ltd)
AsmL
BETA
Boo
Prolog
Python
IronPython (Microsoft)
Ruby
RPG
Scala
ic
Visual Basic.NET (Microsoft)
And Counting…
12. Windows Forms
.Net Framework is for Building Rich Clients
RAD (Rapid Application Development)
Rich set of controls
Data bound aware
ActiveX® Support
Printing support
Unicode support
UI inheritance
Easy deployment
Rapid learning curve. A software professional can
be quickly trained in suitable .net compatible
language & deployed in development.
13. ASP.NET
ASP.NET,the platform services that allow to program
Web Applications and Web Services in any .NET
language
ASP.NET Uses .NET languages to generate HTML
pages. HTML page is targeted to the capabilities of the
requesting Browser
ASP.NET “Program” is compiled into a .NET class and
cached the first time it is called. All subsequent calls
use the cached version.
14. ASP.NET
Logical Evolution of ASP
Supports multiple languages
Improved performance
Control-based, event-driven execution model
More productive
Web server (Mostly Windows based server) need
run time (.Net framework) no client side installation
needed for running asp.net application. Just a
suitable web browser need to access asp.net
application.
15. Web Services
A technical definition
“A programmable application component accessible
via standard Web protocols”
It is just an application that exposes its features
and capabilities over the network using XML.
Any compatible development environment can
consume the web service.
16. ADO.NET (Data and XML)
New objects (e.g., DataSets)
Language neutral data access
Uses same types as CLR.
Six important components are
Connection,
Command,
Data Reader,
Dataset Object,
Data Adapter,
Data View.
17. Summary
The .NET Framework
Dramatically simplifies development and
deployment process as well as time for the same.
Provides robust and secure execution environment
for application development for all type of
application i.e. desktop, web, mobile, cloud etc…
Small learning curve. Developers from other
environments can seamlessly transfer to .net
technologies.