dotnet michelle johnston, firebird services ltd. what is dot net aims to simplify web development...
TRANSCRIPT
DotNetDotNet
Michelle Johnston, Firebird Services Ltd
What is Dot NetWhat is Dot Net
Aims to simplify web developmentLanguage independent – CLR (Common
Language Runtime)Common set of services regardless of
languageInteroperability between technologiesXML/SOAP is at its heart
What is Dot NetWhat is Dot Net
.Net Framework.Net Enterprise ServersCom+Many languages (VB, C#, C++, Java, J#
etc.) access the same CLR
Common Services Common Services (Building Block)(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.Net Enterprise Servers
SQL Server 2000Biztalk Server 2000Host Integration Server 2000Exchange 2000 Enterprise ServerInternet Security and Acceleration Server
2000 (ISA)Commerce Server 2000
Fully object orientedFully object oriented
No wrappers No scripting objects together Fully supports..
– Inheritance– Encapsulation– Methods– Properties– Events– Constructors
.Net sits on top of...Net sits on top of..
Windows APIVisual Basic FormsASPMFC/ATL
.Net is not hidden.Net is not hidden
Programmers can see all that makes up .NetCan extend .Net classes (unless sealed)Can implement cross-language inheritanceCode is organized into hierarchical
namespaces and classesEverything is an object
LanguagesLanguages
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 LibrariesClass Libraries
.Net framework class libraries– System– System.Net– System.IO– System.Globalization– System.Threading– System.Security
ADO .NetADO .Net
System.Data class library– DataSet– DataRow– DataTable– DataView
Disconnected data sets are supported Rich XML support
XML SupportXML 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 ServicesWeb Services
Web service is a reusable component that is available across the internet
System.web / System.Web.Services for web services
DescriptionDiscoveryProtocols
Web FormsWeb 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 .NetHints 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 BobsBits and Bobs
Saving Word, Excel, Powerpoint as html/xml files
Select from an Excel file just as you can a database