DotNet Michelle Johnston, Firebird Services Ltd
What is Dot Net Aims to simplify web development Language independent – CLR (Common Language Runtime) Common set of services regardless of language Interoperability between technologies XML/SOAP is at its heart
What is Dot Net.Net Framework.Net Enterprise Servers Com+ Many languages (VB, C#, C++, Java, J# etc.) access the same CLR
Common Services (Building Block) Available to all users of CLR Identity (Passport) Notification / Messaging Personalization (my) Schematized storage (ADO.Net) Calendar Directory (Active Directory – like LDAP) Search Software Delivery
.Net Enterprise Servers SQL Server 2000 Biztalk Server 2000 Host Integration Server 2000 Exchange 2000 Enterprise Server Internet Security and Acceleration Server 2000 (ISA) Commerce Server 2000
Fully object oriented No wrappers No scripting objects together Fully supports.. – Inheritance – Encapsulation – Methods – Properties – Events – Constructors
.Net sits on top of.. Windows API Visual Basic Forms ASP MFC/ATL
.Net is not hidden Programmers can see all that makes up.Net Can extend.Net classes (unless sealed) Can implement cross-language inheritance Code is organized into hierarchical namespaces and classes Everything is an object
Languages Visual Basic.Net – substantial language improvements (overloading, structured exception handling, stricter type checking) C# - designed for.Net, component oriented language, can be embedded in ASP.Net pages C++ - managed extensions to C++, including garbage handling J#.Net – for Java developers, takes full advantage of the.Net framework, but is NOT OPEN!! Many other languages are coming on board – COBOL, Pascal and Smalltalk amongst others
Class Libraries.Net framework class libraries – System – System.Net – System.IO – System.Globalization – System.Threading – System.Security
ADO.Net System.Data class library – DataSet – DataRow – DataTable – DataView Disconnected data sets are supported Rich XML support
XML Support System.Xml namespace XML Parser and Writer, both W3C compliant System.Xml.Xsl for transformations XPath – data visual navigation in XML System.Xml.Serialization allows you to move back and forth between objects and an XML representation
Web Services Web service is a reusable component that is available across the internet System.web / System.Web.Services for web services Description Discovery Protocols
Web Forms System.Web.UI namespace Two types of controls: – HTML Controls (direct mapping to HTML controls) – Web Controls (richer, e.g a data grid)
Hints and Tips in.Net Use a control to do anything! There is always one that does it already! E.g. Charting objects from Software Artisans,.Net Resource kit has a free standard one, there are many others E.g. File Management objects – as above
Bits and Bobs Saving Word, Excel, Powerpoint as html/xml files Select from an Excel file just as you can a database