Top Banner
Copyright © 2001 by iigo, Inc. Introduction To .NET Dallas .NET User Group April 4, 2001
44

Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Dec 27, 2015

Download

Documents

Erica West
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Introduction To .NET

Dallas .NET User GroupApril 4, 2001

Page 2: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Casey Chesnut

brains-N-brawn.com

Page 3: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Outline

• Why do we need .NET• What is .NET• When to start .NET

Page 4: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Why .NET

• Present– Windows DNA

• Piecemeal• COM is difficult• DLL Hell deployment• Compiled and Interpreted• Scripting and OO programming models

• Future– Software as a Service

Page 5: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

What Is .NET

Next-generation Software Development ‘platform’ for Windows and the Internet

1st platform developed specifically for the Internet

Page 6: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

What Is .NET (cont.)

• .NET Framework– Demonstration

• .NET Enterprise Servers• .NET Services

Page 7: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

.NET Framework

OS

Common Language Runtime (CLR)[Common Types | Mem Mgt. Lifecycle]

Base Classes[NET | Security | XML | IO | Threading]

Application Programming Models[ASP.NET | Win Forms | Web Services]

Visual Studio .NET

Page 8: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

.NET Framework (cont.)

OS

Common Language Runtime (CLR)[Common Types | Mem Mgt. Lifecycle]

Base Classes[NET | Security | XML | IO | Threading]

Application Programming Models[ASP.NET | Win Forms | Web Services]

Visual Studio .NET

Page 9: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

CLR

• Common Type System• Memory Management• Lifetime Monitor

Page 10: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

CLR (cont.)

• Hides COM• Objects for all languages are the same• MSIL• JIT compilers

Page 11: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

.NET Framework (cont.)

OS

Common Language Runtime (CLR)[Common Types | Mem Mgt. Lifecycle]

Base Classes[NET | Security | XML | IO | Threading]

Application Programming Models[ASP.NET | Win Forms | Web Services]

Visual Studio .NET

Page 12: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Base Classes

• NET• IO• Security• XML• ADO.NET• Threading• Diagnostics• Etc.

Page 13: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Languages

• C#• VB.NET• Visual C++• Jscript• 3rd Party Languages

Page 14: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

C#

• ECMA Standardization• Component Language (properties,

events)• No Runtime without .NET• Simplified C++ syntax• Looks like Java (single file for

description and implementation)• Language of choice for Microsoft

Page 15: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

VB.NET

• Significant changes from VB6 (inheritance, polymorphism, etc.)

• Strongly typed• No VBScript in ASP.NET• Structured Error Handling• Free Threading• Compatibility Issues• Steep Learning Curve

Page 16: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

C++

• Managed vs Unmanaged (default)• Unmanaged is backwards compatible• Managed C++ will not be faster or more

secure than other .NET languages• Updated versions of MFC and ATL• Probably still remain at System level,

although other .NET languages can be there as well now (e.g. Win Services)

Page 17: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Jscript

• Why?

Page 18: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Other Languages

• J++ is gone• COBOL• APL• FORTRAN• PERL• Java ?• Other platforms as well …

Page 19: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

.NET Framework (cont.)

OS

Common Language Runtime (CLR)[Common Types | Mem Mgt. Lifecycle]

Base Classes[NET | Security | XML | IO | Threading]

Application Programming Models[ASP.NET | Win Forms | Web Services]

Visual Studio .NET

Page 20: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Programming Models• ASP.NET

– Web Forms– Web Services– Mobile .NET Controls

• Win Forms– Controls– Drawing

• Console / Win Services

Page 21: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

ASP.NET

• Different Styles– Traditional top-down rendering– Event driven

• Separate presentation and code• Caching• Compiled• Debugging

Page 22: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Web Forms

• Server controls• Multiple browser support• Automatic state management• Scalable• Reliable• Performant

Page 23: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Web Services

•CORNERSTONE OF .NET• Business logic exposed through Internet

standards (XML, SOAP, HTTP)• Data NOT Presentation• Programmatic interfaces to a web site• Language and Platform independent• Next evolution of the Internet

Page 24: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Mobile .NET

• Automatically renders WAP• Device capabilities• Pocket PC and Wireless Web cell phones• Rumors of Palm support• Handles non-standardization of cell

phone industry

Page 25: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Win Forms

• Event Driven Programming Model• Combination of VB Application and J++

WFC Development• Replaces MFC and ATL• Similar model to ASP.NET• Not as feasible as developing .NET on

the server because of runtime

Page 26: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Controls

• Easy to extend• Easy to create• Integrate into VS.NET

Page 27: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Drawing

• GDI+• …

Page 28: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Console

• For traditional ‘Hello World’ programs

Page 29: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Win Services

• No interface• Long running• Language choice

Page 30: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Visual Studio .NET

• One IDE for all languages• One IDE for all programming models• FoxPro is maverick• Self describing .NET components allow

for a true RAD environment• Currently only available for download by

MSDN subscribers

Page 31: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

DEMO

Page 32: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

What Is .NET (cont.)

• .NET Framework– Demonstration

• .NET Enterprise Servers• .NET Services

Page 33: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

.NET Enterprise Servers

• 8 flagship products that are either brand new, reorganized, or totally rewritten

• COM+• XML• DNA and .NET• Released Now

Page 34: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

.NET Enterprise Servers

• Application Center 2000• BizTalk Server 2000• Commerce Server 2000• Exchange 2000 Server• SQL Server 2000• Host Integration Server 2000• Internet Security and Acceleration Server 2000• Mobile Information 2001 Server

Page 35: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

What Is .NET (cont.)

• .NET Framework– Demonstration

• .NET Enterprise Servers• .NET Services

Page 36: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

.NET Services

Software as a Service• ‘Buy vs. Build’ decision moves from

COTS world to Internet space• Islands of applications to ONE BIG APP.• New programming models• New business models• New architectures

Page 37: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

.NET Services (cont.)

Microsoft and 3rd Party Vendors• HailStorm• eBay• DNUG

Page 38: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

.NET Services (cont.)

• Collaboration• Security• Revenue• Stateless• Authentication• Competition• Performance• Reliability

Page 39: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

.NET Services (cont.)

XML, SOAP, HTTP

Language implementation and Platform the Web Services are running on does not matter, thus ending the religious wars

Page 40: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

When .NET

• Beta 1 – Now (deployable web hosting)• Beta 2 – ~2 months

– Bug fixes– Performance– Interface changes– Deployable

• Release – ~Fall 2001– CE version a couple months later

Page 41: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

When .NET (cont.)

• DNA 2000– DNA on .NET Enterprise Servers (all

released)• SOAP Toolkit with VS6 for Web Services

– Will work with .NET, and all other Web Service implementations

• Can wrap .NET around COM/COM+ later• .NET Services (HailStorm-q12k, eBay-?)

Page 42: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Summary• Less plumbing• Less code• Shorter development time• More productive• Better products for customers/end users• Same programming models• Skills transfer• Better developers

Page 43: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.

Contact

casey chesnutbrains-N-brawn.com

www.DNUG.netwww.iigo.com

Page 44: Copyright © 2001 by iigo, Inc. Introduction To.NET Dallas.NET User Group April 4, 2001.

Copyright © 2001 by iigo, Inc.