Transcript

.NETSoftPro India Computer Technologies

Pvt. Ltd

BCPL

C

C++

ANSI C

OAK

JAVA

ANSIC++

C#

B

Martin Richards

1967

Ken Thompson

1970

Dennis Ritchie

Bjjrane Stroustrup

ANSI Committee

James Gosling

Sun Microsystems

ANSI Committee

Microsoft

1972

1983

1987

1991

1995

1996

2000

Machine Code(100110101)

Source Code

Compilation

The Problem

Machine Code(100110101)

Source Code

Compiled on Intel

Intel(100110101)

Motorola(110100111)

Execute

Fails

James Gosling

ProgramExecute

Execute

Execute

Execute

Solution

Intermediate Code

(XXXXXXXXX)

Source Code

Compiler

Intel(100110101)

Motorola(110100111)

Fails

Fails

Intermediate Code(XXXXXXXXX)

Source Code

Compiled

Intel(100110101)

Motorola(110100111)

Specific Agent

Specific Agent

Intermediate Code

(XXXXXXXXX)

Runtime

Compilation

Execute

Execute

Intermediate Code(XXXXXXXXX)

Source Code

Java Compiler

Intel(100110101)

Motorola(110100111)

JVM

JVM

Intermediate Code

(XXXXXXXXX)

Runtime

Interpreter

Execute

Execute

.NET History.NET History

In July 2000, Microsoft announced a whole new software development framework for Windows called .NET in the Professional Developer Conference (PDC).

Finally, in March 2002 Microsoft released final version of the .NET framework.

MSIL(XXXXXXXXX)

Source Code

Language

Specific

Compiler

Intel(100110101)

Motorola(110100111)

CLR

CLR

MSIL(XXXXXXXXX

)

Runtime

Compilation

Execute

Execute

What type of applications can I develop?What type of applications can I develop?

1. ASP.NET Web applications.2. Windows Form based applications.3. Console applications.4. Component Libraries.5. Windows Custom Controls.6. Web Custom Controls.7. Web services. 8. Windows Services.

Features of .NET

• Rich Class libraries.

• Easy development of web applications.

• OOPs Support.

• Multi-Language Support.

• Multi-Device Support.

• Automatic memory management.

• Compatibility with COM and COM+.

• No more DLL Hell.

• Strong XML support.

• Security.

.NET Platform Architecture

VB.NET C# C++ ………

Web Services Web Forms Windows Form

ADO.NET (Data & XML)

Base Class Libraries

Operating System (Windows)

Visual Studio

Similarities: Java & .NETSimilarities: Java & .NET

• Platform independence .

• Compile once run any where.

• Runtime required.

• Focuses Object oriented programming.

• Open source and free to use.

• Intermediate code generation.

• Runtime compilation.

Differences: Java & .NETDifferences: Java & .NET

• Java the only language, where as .NET languages.

• Java is available for all OS, .NET only for Windows.

• Introduced concept of web services.

• Cross language integration.

Comparing the stacksComparing the stacksV

isu

al S

tud

io.n

et

Win32

MSMQ, COM+, IIS, WMI, Indexing, UDDI, etc.

CLRCLR

Base Class LibraryBase Class Library

ADO.NETADO.NET

ASP.NetASP.Net

P&P blocksP&P blocks

Win32, Unix, Linux

JMS Apache

J2EE App Servers Websphere, Weblogic, Tomcat, etc.

Java runtimeJava runtime

J2EE Class LibraryJ2EE Class Library

Third party extensionsThird party extensions

JDBCJDBC

Servlets Servlets

JSP JSP

StrutsStruts

ExtensionsExtensions: : Phoenix, Tiles, Java FacesPhoenix, Tiles, Java Faces

Enterprise solutionsEnterprise solutionsB

EA

Web

log

icW

eb

sh

pere

Stu

dio

Eclip

se

… Java

VB

C+

+C

#P

erl

Pyth

on

ADO.NET ARCHITECTUREADO.NET ARCHITECTURE

Providers for ADO.NET

OleDb – The generic provider to connect the any database.

SqlClient – Optimized for Microsoft Sql Server

Connection String

Provider (e.g. MS Access, MS Sql Server, Oracle and Mysql etc. )

Data Source (e.g. Machine Name and Server Name).

Authentication Information (e.g. User ID and Password).

Database Name (e.g. Abc etc).

Thank You!!Thank You!!

top related