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
Copyright © 2001 by iigo, Inc.
Casey Chesnut
brains-N-brawn.com
Copyright © 2001 by iigo, Inc.
Outline
• Why do we need .NET• What is .NET• When to start .NET
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
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
Copyright © 2001 by iigo, Inc.
What Is .NET (cont.)
• .NET Framework– Demonstration
• .NET Enterprise Servers• .NET Services
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
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
Copyright © 2001 by iigo, Inc.
CLR
• Common Type System• Memory Management• Lifetime Monitor
Copyright © 2001 by iigo, Inc.
CLR (cont.)
• Hides COM• Objects for all languages are the same• MSIL• JIT compilers
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
Copyright © 2001 by iigo, Inc.
Base Classes
• NET• IO• Security• XML• ADO.NET• Threading• Diagnostics• Etc.
Copyright © 2001 by iigo, Inc.
Languages
• C#• VB.NET• Visual C++• Jscript• 3rd Party Languages
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
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
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)
Copyright © 2001 by iigo, Inc.
Jscript
• Why?
Copyright © 2001 by iigo, Inc.
Other Languages
• J++ is gone• COBOL• APL• FORTRAN• PERL• Java ?• Other platforms as well …
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
Copyright © 2001 by iigo, Inc.
Programming Models• ASP.NET
– Web Forms– Web Services– Mobile .NET Controls
• Win Forms– Controls– Drawing
• Console / Win Services
Copyright © 2001 by iigo, Inc.
ASP.NET
• Different Styles– Traditional top-down rendering– Event driven
• Separate presentation and code• Caching• Compiled• Debugging
Copyright © 2001 by iigo, Inc.
Web Forms
• Server controls• Multiple browser support• Automatic state management• Scalable• Reliable• Performant
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
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
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
Copyright © 2001 by iigo, Inc.
Controls
• Easy to extend• Easy to create• Integrate into VS.NET
Copyright © 2001 by iigo, Inc.
Drawing
• GDI+• …
Copyright © 2001 by iigo, Inc.
Console
• For traditional ‘Hello World’ programs
Copyright © 2001 by iigo, Inc.
Win Services
• No interface• Long running• Language choice
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
Copyright © 2001 by iigo, Inc.
DEMO
Copyright © 2001 by iigo, Inc.
What Is .NET (cont.)
• .NET Framework– Demonstration
• .NET Enterprise Servers• .NET Services
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
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
Copyright © 2001 by iigo, Inc.
What Is .NET (cont.)
• .NET Framework– Demonstration
• .NET Enterprise Servers• .NET Services
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
Copyright © 2001 by iigo, Inc.
.NET Services (cont.)
Microsoft and 3rd Party Vendors• HailStorm• eBay• DNUG
Copyright © 2001 by iigo, Inc.
.NET Services (cont.)
• Collaboration• Security• Revenue• Stateless• Authentication• Competition• Performance• Reliability
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
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
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-?)
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
Copyright © 2001 by iigo, Inc.
Contact
casey chesnutbrains-N-brawn.com
www.DNUG.netwww.iigo.com
Copyright © 2001 by iigo, Inc.