30
Introduction to .Net / Chapter 1 / 1 of30 Introduction to .NET

Introduction to .NET

Embed Size (px)

DESCRIPTION

Introduction to .NET. Objectives. Discuss the transformation in computing, the Internet, and application development Identify the need for .NET Explain the role of the CLR and IL Describe the core components of Microsoft. NET Discuss the .NET Framework and list the components in it. - PowerPoint PPT Presentation

Citation preview

Page 1: Introduction to .NET

Introduction to .Net / Chapter 1 / 1 of30

Introduction to .NET

Page 2: Introduction to .NET

Introduction to .Net / Chapter 1 / 2 of30

Objectives Discuss the transformation in computing, the Internet, and

application development

Identify the need for .NET

Explain the role of the CLR and IL

Describe the core components of Microsoft. NET

Discuss the .NET Framework and list the components in it

Page 3: Introduction to .NET

Introduction to .Net / Chapter 1 / 3 of30

Transformation in Computing

Dumb terminals

Mainframe

Centralized Computing

Page 4: Introduction to .NET

Introduction to .Net / Chapter 1 / 4 of30

Transformation in Computing

CentralizedComputing

Client-Server Computing

Clients: Smart terminals

ServerPC

Page 5: Introduction to .NET

Introduction to .Net / Chapter 1 / 5 of30

Transformation in Computing

CentralizedComputing

Client-Server ComputingDistributed Computing

Smart terminals

Network

In local distributed computing, computers are present generally in a LAN

Page 6: Introduction to .NET

Introduction to .Net / Chapter 1 / 6 of30

Distributed Computing

Internet

Page 7: Introduction to .NET

Introduction to .Net / Chapter 1 / 7 of30

Transformation in Computing

CentralizedComputing

Client-Server Computing

Distributed Computing

Internet

Page 8: Introduction to .NET

Introduction to .Net / Chapter 1 / 8 of30

Internet

Web Server

Web Server

Web Server

The Internet Today

• Today – Websites are isolated islands• Web serves HTML ‘pictures of data’-not

actual data• Browser: glorified read-only dumb

terminal• Architecture mirrors old time-sharing

model• Personalization involves entering same

personal info at every site!

Page 9: Introduction to .NET

Introduction to .Net / Chapter 1 / 9 of30

The Present Dilemma

HOME

OFFICE

OnlineInfo

Other

Info

OfflineInfo

Emails

I need a personal

Information Space

USERDEVELOPER

• Inadequate tools for building, testing and deploying sites

• Sites-generally attractive, not useful!

I need a system that allows me to write code for a PC, & deploy it to a variety of devices

Page 10: Introduction to .NET

Introduction to .Net / Chapter 1 / 10 of30

Transformation in the Internet

Web Server

Web Server

Web Server

Web Server

Web Server

Web Server

Constellation

Web sites as islands

Sites, services, and devices-collaborate and provide rich user experience

Page 11: Introduction to .NET

Introduction to .Net / Chapter 1 / 11 of30

Evolution of App Development

Rich resources & control

over applications

Less time to market

Higher developer productivity

Higher quality softwareInternet

Apps can be used by Anyone, Anywhere

Software as a service

•Apps integrate local system services

•Apps integrate entire applications from all over network+add unique value •Focus-therefore on unique business value, not on building infrastructure

•Apps (Web Services) expose features programmatically over inter/intranet•developers integrate web services into their apps by calling web APIs•COMPONENT PROGRAMMING over the web!

Page 12: Introduction to .NET

Introduction to .Net / Chapter 1 / 12 of30

.NET-a result of evolution

Transformation in the InternetTransformation in the Internet

Transformation in ComputingTransformation in Computing

Transformation in App development

Transformation in App development

Melding Computing & Communications

Building Constellations-not islands!

Distributed Computing-here to stay!

Software as a service

Applications used by anyone/anywhere

Page 13: Introduction to .NET

Introduction to .Net / Chapter 1 / 13 of30

.NET-a result of evolutionMelding Computing & Communications

Building Constellations-not islands!

Distributed Computing

-here to stay!

Software as a service

Applications used by anyone/anywhere

Page 14: Introduction to .NET

Introduction to .Net / Chapter 1 / 14 of30

.Net – taking DC one step further

Page 15: Introduction to .NET

Introduction to .Net / Chapter 1 / 15 of30

.NET-taking DC one step further!

User Data lives on the NET—can be accessed from anywhere, any time

.NET—a whole new platform centered around the Internet

Create applications that can be accessed via any browser, any device

.NET applications harness the power of the Internet

Data can be accessed from any .NET device

Page 16: Introduction to .NET

Introduction to .Net / Chapter 1 / 16 of30

Program Execution

Page 17: Introduction to .NET

Introduction to .Net / Chapter 1 / 17 of30

Program Execution Earlier languages had their own compilers and their own

runtime environments.

In .Net the compiler of the respective language compiles the source code into an ‘Intermediate Language’.

In .Net language specific runtime has been replaced by CLR.

Page 18: Introduction to .NET

Introduction to .Net / Chapter 1 / 18 of30

Executing .NET programs.NET

source code

Lan

gu

age

Co

mp

iler

MSIL+

Metadata

Machinecode

Code executedC

LR

1st Compilation

2nd Compilation

.NET programs are compiled twice—the first compilation is slow, while the second one is relatively faster!

Page 19: Introduction to .NET

Introduction to .Net / Chapter 1 / 19 of30

Microsoft Intermediate Language

.NET source

codeL

ang

uag

eC

om

pile

r

MSIL+

Metadata

Machinecode

Code executedC

LRMSIL

Helps Language interoperability

IL is not bytecode, but is very close to it. Therefore, when the application is executed, the IL to machine code conversion is quick!

MSIL converted to CPU-specific code by CLR

CPU-independent set of instructions

Page 20: Introduction to .NET

Introduction to .Net / Chapter 1 / 20 of30

The Common Language Runtime

.NET source

codeL

ang

uag

eC

om

pile

r

MSIL+

Metadata

Machinecode

Code executedC

LRCLR

Manages memory

Makes it easy to design components & applications whose objects interact across languages

Cross-language integration (especially cross-language inheritance)

Compile once, and run on any CPU & OS that supports the runtime!

Page 21: Introduction to .NET

Introduction to .Net / Chapter 1 / 21 of30

Components of Microsoft.NET

MS.NETProducts

& Services

3rd Party .NET services

MS.NETPlatform

VS.NET

MSN.NET

Office.NET

bCentral server

for .NET

Windows.NET

.Net infrastructure + tools

.Net user experience

.NET building block services

.NET device software

Range of partners & developers with opportunity to produce services built on .NET

platform

Page 22: Introduction to .NET

Introduction to .Net / Chapter 1 / 22 of30

Features of Microsoft.NET Platform

InternetProtocols

XML

Microsoft.NET

Built on XML and internet protocols

Set of tools and services for developing new generation of software Designed to allow integration/orchestration of any group of resources on the Internet

Makes it quick and easy to design, implement, and deploy collaborative web solutions

Page 23: Introduction to .NET

Introduction to .Net / Chapter 1 / 23 of30

XML - one of the core components of Microsoft.NET

InternetProtocols

XML

Microsoft.NET

Separates actual data from presentation.

Key to next generation internet; unlocks info that can be organized, programmed, and edited.

Provides way to distribute data to variety of devices.

Allows websites to collaborate and provide constellation of web services that will be able to interact with each other.

Page 24: Introduction to .NET

Introduction to .Net / Chapter 1 / 24 of30

Internet Protocols in .NET

InternetProtocols

XML

Microsoft.NET

Microsoft.NET is built on existing protocols such as HTTP & SOAP(Simple Object Access Protocol)

SOAP is an XML/HTTP-based protocol

SOAP allows access to services, objects, and servers in a platform-independent manner SOAP used for exchange of information in a decentralized, distributed environment

Page 25: Introduction to .NET

Introduction to .Net / Chapter 1 / 25 of30

The Microsoft.NET platform

.NETFramework

.NETEnterprise

Servers

Building Block

Services

Windows (CE, ME, 2000, and .NET)

Orchestration

Page 26: Introduction to .NET

Introduction to .Net / Chapter 1 / 26 of30

Windows 2000 Family- the Chosen One

The .NET platform is built on Scalability, Reliability, Security, and Manageability of Windows 2000 Server family

Orchestration

.NETFramework

.NETEnterprise

Servers

Building Block

Services

Windows (CE, ME, 2000 and .Net)

Page 27: Introduction to .NET

Introduction to .Net / Chapter 1 / 27 of30

Components of .Net framework

Orchestration

.NETFramework

.NETEnterprise

Servers

Building Block

Services

Windows (CE, ME, 2000 and .Net)

Web Services

Web UI

Data and XML

Base classes

Common Language Runtime

Page 28: Introduction to .NET

Introduction to .Net / Chapter 1 / 28 of30

.Net Enterprise Servers

Orchestration

.NETFramework

.NETEnterprise

Servers

Building Block

Services

Windows (CE, ME, 2000 and .Net)

•SQL Server 2000

•Internet Security & Acceleration Server 2000

•Host Integration Server

•Exchange 2000 Server & Exchange 2000 Conferencing Server

•Commerce Server 2000

•Biztalk Server 2000

•Application Server 2000

Page 29: Introduction to .NET

Introduction to .Net / Chapter 1 / 29 of30

Building Block Services

Orchestration

.NETFramework

.NETEnterprise

Servers

Building Block

Services

Windows (CE, ME, 2000 and .Net)

Core Microsoft .Net building block services:-

•Notification

•Personalization

•Calendar

•Dynamic Delivery

Page 30: Introduction to .NET

Introduction to .Net / Chapter 1 / 30 of30

Orchestration