0% found this document useful (0 votes)
99 views17 pages

The Distributed Group University of Seville Spain - Espa A

This document provides an introduction to .NET and discusses its evolution over time. It outlines the key elements of .NET including the Common Language Runtime (CLR) which allows applications to run on different platforms, the base class library, ADO.NET for data access, ASP.NET for web development, and the Common Language Specification (CLS) for language interoperability. It also assesses .NET compared to Java and concludes that .NET offers advantages like more efficiency and easier interoperability through a unified set of technologies.

Uploaded by

Bhushan Singla
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
99 views17 pages

The Distributed Group University of Seville Spain - Espa A

This document provides an introduction to .NET and discusses its evolution over time. It outlines the key elements of .NET including the Common Language Runtime (CLR) which allows applications to run on different platforms, the base class library, ADO.NET for data access, ASP.NET for web development, and the Common Language Specification (CLS) for language interoperability. It also assesses .NET compared to Java and concludes that .NET offers advantages like more efficiency and easier interoperability through a unified set of technologies.

Uploaded by

Bhushan Singla
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

Introduction to .

NET

The Distributed Group


University of Seville
Spain - España

The path

Introduction
The elements of .NET
– The CLR
– Base class library
– ADO .NET
– ASP .NET
– The CLS

Assessments
Conclusions

1
Introduction
The Way to .NET

1996 1997 2001


Internet Internet Internet
1st Gen 2nd Gen 3rd Gen

IE/IIS WinDNA
1992 .NET
Client/Server

Win32

Introduction
The Way to .NET (2nd Generation)

Former
tools
VS 6.0
Servers
DNA

COM+

Windows NT

2
Introduction
The Way to .NET (3rd Generation)

Former
tools VS.NET VS 6.0
New Orchestration
tools

Servers
Building

DNA
.NET
COM+ Block
Framework Services

Windows
Windows NT
2000/2003

Introduction
The Way to .NET (3rd Generation)

Former
tools VS.NET
New Orchestration
tools
Serve rs

Coming
Servers

Building
DNA

soon
.NET

.NET
COM+ Block
Framework Services

Windows 2000/2003
Windows.NET

3
The path

Introduction
The elements of .NET
– The CLR
– Base class library
– ADO .NET
– ASP .NET
– The CLS

Assessments
Conclusions

The Elements of .NET


An Overall Picture

VB VC++ C# JScript …
Common Language Specification
ASP.NET

Web
Visual Studio.NET

Services WebForms

ADO.NET: heterogeneous data and XML

Base Class Library

Common Language Runtime


MSMQ COM+
(Message (Transactions, Partitions, IIS …
Queuing) Object Pooling)
Windows

4
The path

Introduction
The elements of .NET
– The CLR
– Base class library
– ADO .NET
– ASP .NET
– The CLS

Assessments
Conclusions

The CLR
Babel land!

Worldwide Developer Population

Millions
10
8
6
4
2
0
COBOL C/C++ VB Java Other
Languages
Source: IDC 2000 Developer Report

Total Developers Worldwide: 21.6 million

5
The CLR
MS’s Intermediate Language

MSIL is an assembler-level language:


– CPU-neutral
– High level: objects, arrays, virtual methods, etc
– Very efficient compared to JVM
– No memory references, thus no memory faults

MSIL is not Java bytecode:


– Not intended to be interpreted
– Not targeted towards a single language
– Improved memory management

The CLR
MS’s Intermediate Language

VB VC++ C# …

Pre-JIT IL
Desktop
Mobile platforms
platforms
Common Language Runtime

Standard
Native Econo-JIT JIT
Code

Native
Code

6
The path

Introduction
The elements of .NET
– The CLR
– Base class library
– ADO .NET
– ASP .NET
– The CLS

Assessments
Conclusions

Base Class Library

System.Web System.WinForms
Services UI Design ComponentModel
Description HtmlControls
Discovery WebControls
Protocols System.Drawing
Caching Security Drawing2D Printing
Configuration SessionState Imaging Text

System.Data System.Xml
ADO SQL XSLT Serialization
Design SQLTypes XPath

System
Collections IO Security Runtime
Configuration Net ServiceProcess InteropServices
Diagnostics Reflection Text Remoting
Globalization Resources Threading Serialization

7
The path

Introduction
The elements of .NET
– The CLR
– Base class library
– ADO .NET
– ASP .NET
– The CLS
– Quantitative assessment
Conclusions

ADO.NET
The basis

High-level data access model


– Heterogeneous data sources
– Interoperability

High-performance implementation
– Datasets for disconnected data access
– Managed providers for connected data access

8
ADO.NET
Architecture

TextReader XMLReader

<xml> DataSet

Client
</xml> Order
Item

Did we serve
Peter’s order?

The path

Introduction
The elements of .NET
– The CLR
– Base class library
– ADO .NET
– ASP .NET
– The CLS
– Quantitative assessment
Conclusions

9
ASP.NET
Good and Bad Features of ASP

Good features:
– A platform in wide-spread use
– Simple to use: HTML + Scripts
– COM components can be used
Bad fatures:
– Too much spaghetti code
– Only scripting languages
– Difficult distribution (DLL locking, regsvr32, …)
– Session state linked to a single machine
– Bad cache policies

The path

Introduction
The elements of .NET
– The CLR
– Base class library
– ADO .NET
– ASP .NET
– The CLS

Assessments
Conclusions

10
Common Language Specification

Single inheritance

Common Language Specification

Single inheritance
Multiple interface implementation

11
The path

Introduction
The elements of .NET
– The CLR
– Base class library
– ADO .NET
– ASP .NET
– The CLS

Assessments
Conclusions

Assessments

Feature JAVA .NET


Portability ≈ ×
Interop. components × √
Interop. ws √ √
E-Commerce √ √
Legacy Systems √ ≈
ROI × √
Tools ≈ √
Learning curve ≈ √

12
Assessments
(performance-applications-pages)

Assessments
(performance-application-users)

13
Assessments
(performance-ws-users)

Assessments
(performance-ws-users)

14
Líneas de Código a Mano

The path

Introduction
The elements of .NET
– The CLR
– Base class library
– ADO .NET
– ASP .NET
– The CLS

Assessments
Conclusions

15
Conclusions

A bunch of technologies
– Components
– User interfaces
– Web services

Advantages with regard to Java


– More efficient
– Language neutral
– Easily interoperable

Conclusions

Stay tuned
What can I do? and learn!

16
Thank You!

Can we improve this talk?


– Contact us at [email protected]
– Drop by our e-page at www.tdg-seville.info

17

You might also like