Web Services - Common Language Runtime - Windows Forms - Web Forms - Languages
Web Services - Common Language Runtime - Windows Forms - Web Forms - Languages
Web Services - Common Language Runtime - Windows Forms - Web Forms - Languages
NET Overview
Introduction to .NET Web Services The .NET Framework Common Language Runtime Windows Forms Web Forms ADO.NET Languages
Introduction to .NET
What is .NET?
A vision of how information technology will evolve A platform that supports the vision A business model of software as a service
Introduction to .NET
What is .NET?
A vision
Web sites will be joined by Web services New smart devices will join the PC User interfaces will become more adaptable and customizable Enabled by Web standards
Introduction to .NET
What is .NET?
A platform
The .NET Framework Visual Studio.NET .NET Enterprise Servers
Database, Messaging, Integration, Commerce, Proxy, Security, Mobility, Orchestration, Content Management Passport .NET My Services (Hailstorm)
Goal: make it incredibly easy to build powerful Web applications and Web services
Introduction to .NET
What is .NET? A business model
Software as a service Subscription-based services Application hosting, e.g. bCentral
Introduction to .NET
The .NET Platform
Clients Applications
Web Services
A programmable application component accessible via standard Web protocols The center of the .NET architecture Exposes functionality over the Web Built on existing and emerging standards
HTTP, XML, SOAP, UDDI, WSDL,
Web Services
Evolution of the Web
HTML, XML
What Is the .NET Framework? A set of technologies for developing and using components to create:
Web Forms Web Services Windows Applications
Common Language Specification ASP.NET: Web Services and Web Forms Windows Forms
ADO.NET: Data and XML .NET Framework Base Classes Common Language Runtime
System.Windows.Forms
Form
MessageBox
Button
ListControl
System.Drawing
Security SessionState Drawing2D Imaging Printing Text
System.Data
OLEDB Design SQL SQLTypes XSLT XPath
System.Xml
Serialization
System
Collections Configuration Diagnostics Globalization IO Net Reflection Resources Security ServiceProcess Text Threading Runtime InteropServices Remoting Serialization
Deployment services
Simple, reliable deployment Fewer versioning problems NO MORE DLL HELL
Run-time services
Performance Scalability Availability
Reliability Security Safety
Source Code
Assembly
Compiler
C++, C#, VB or any .NET language
csc.exe or vbc.exe
DLL or EXE
Manifest
Metadata about the components in an assembly (version, types, dependencies, etc.)
Type Metadata
Completely describes all types defined in an assembly: properties, methods, arguments, return values, attributes, base classes,
Resources
E.g. .bmp, .jpg
MSIL
Ngen
Native code
Managed Code
Unmanaged Code
What languages?
Microsoft: C++, Visual Basic, C#, JScript Third-Party: Cobol, Eiffel, Smalltalk, Scheme, Oberon, Haskell, Java, Python, Perl,
Evidence-based security (authentication) Based on user identity and code identity Configurable policies Imperative and declarative interfaces
Windows Forms
Framework for building rich clients Built upon .NET Framework, languages Rapid Application Development (RAD) Visual inheritance Anchoring and docking Rich set of controls Extensible controls
Data-aware Easily hooked into Web Services ActiveX support Licensing support Printing support Advanced graphics
Web Forms
Built with ASP.NET
Logical evolution of ASP Similar development model: edit the page and go
Web Forms
Allows separation of UI and business logic Uses .NET languages
Not just scripting
Web Forms
Caching (pages, fragments, custom) Scalable session state management Tracing support ASP.NET is extensible
No ISAPI / ASP dichotomy
ADO.NET
Similar to ADO, but better factored Language-neutral data access Supports two styles of data access
Disconnected Forward-only, read-only access
Supports data binding DataSet: a collection of tables Can view and process data relationally (tables) or hierarchically (XML)
Languages
C#
New language created for .NET Safe, productive evolution of C++ Key concepts:
Component-oriented Everything is an object Robust and durable code Preserving your investment
Languages
Visual Basic.NET
Conclusion
Internet Technologies Programming Languages and Paradigms Programming the Web .NET Overview
More Resources
HTTP
http://msdn.microsoft.com/library/periodic/period96/protocol.h tm HTTP Essentials, Stephen Thomas, 2001, Wiley, ISBN 0471-39823-3
Cookies
http://msdn.microsoft.com/library/default.asp?URL=/library/pa rtbook/instantj/cookies.htm
MIME
http://www.ufaq.org/navcom/mime_tutorial.html http://www.irvine.com/~mime/
Networks
http://msdn.microsoft.com/library/periodic/period99/ntp99b3.ht m
More Resources
XML
http://msdn.microsoft.com/xml/default.asp http://www.w3.org/XML/ Essential XML, Don Box, Aaron Skonnard, John Lam, Addison Wesley, 2000, ISBN 0-201-70914-7
.NET
http://www.microsoft.com/net/ http://msdn.microsoft.com/net/ http://www.gotdotnet.com msnews.microsoft.com news server
microsoft.public.dotnet.general newsgroup