Академический Документы
Профессиональный Документы
Культура Документы
NET
A new platform for building Internet applications and Web services
Introduction to .NET
daniel.flemstrom@mdh.se
Contains runtime, messaging, services, data access, interoperability, HTTP services, ASP+, and more Supports multi-language development Has a rich set of internet-supporting technologies A common class library with a standard set of classes which all inherits from a base class called Object The .Net Frameworks Object Model is called VOS Virtual Object System
Common Language Specification Visual Studio.NET Visual Studio.NET ASP.NET Windows Forms
ADO.NET and XML Base Class Library Common Language Runtime Windows COM+ Services
Common Language Specification Visual Studio.NET Visual Studio.NET ASP.NET Windows Forms
CLS
VB
Windows
Page 6, November 11, 2003
COM+ Services
Common Language Specification Visual Studio.NET Visual Studio.NET ASP.NET Windows Forms
ADO.NET and XML Base Class Library Common Language Runtime Windows
Page 8, November 11, 2003
COM+ Services
Class Loader
Verifier
ADO.NET and XML Base Class Library Common Language Runtime Windows
Page 11, November 11, 2003
COM+ Services
JIT
[Customers]
CustomerSet ADO.NET
open OleDbConnection OleDbDataAdapter for SQL command Use the adapter to fill out your custom dataset with the requested information Modify your dataset Create update command with the OleDbCommandBuilder Update the database with the adapter (given your dataset)
Page 14, November 11, 2003
ADO.NET and XML Base Class Library Common Language Runtime Windows
Page 13, November 11, 2003
CustomerInfo DB
COM+ Services
XML Support
XML Is used everywhere Store / Retrieve Datasets in XML XMLTextReader, XMLTextWriter XMLDataDocument W3C Document Object Model (DOM) XMLNode XPath, XslTransform XMLSerialization ...
Common Language Specification Visual Studio.NET Visual Studio.NET ASP.NET Windows Forms
ADO.NET and XML Base Class Library Common Language Runtime Windows COM+ Services
Windows Forms
Components needed to create windows applications WIN32 at last hidden with real OOP! Visual Inheritance Same controls used from all languages
ASP.NET Page
HTML Page
Genreated HTML
Postback
Consistent naming of properties, methods and behaviour!!!! Forms + Listboxes, Buttons etc
Component
HTML
WIN32 specific Builds pretty much on intrinsic WIN32 functionality Makes it difficult to support.
Program
SOAP
Evolution of COM
COM COM
COM+ COM+
ADO.NET and XML Base Class Library Common Language Runtime Windows
Page 19, November 11, 2003
MTS MTS
COM+ Services
Page 20, November 11, 2003