Title: 'NET Overview
1.NET Overview
- Matt Germonprez
- Information Systems
- University of Wisconsin Eau Claire
- http//people.uwec.edu/germonr
- germonr_at_uwec.edu
- (715) 836-5968
2Overview
- Overview and .NET Evolution
- Design points and Architecture
- Common Language Runtime
- Class Libraries
- Windows Forms
- ASPX
- Web Services
3The .NET Evolution
Application
Code and data structures
Before COM, applications were completely separate
entities with little or no integration
4The .NET Evolution
COM provides a way for components to integrate.
However, each component must provide the
plumbing and objects cannot directly interact.
5The .NET Evolution
With the .NET Framework common language runtime,
components are built on a common substrate. No
plumbing is needed and objects can interact
directly
6Common Language Runtime
- Manages running code
- Type safety and code access security
- Garbage collection and error handling
- Provides common type system
- Value types (integer, float, etc)
- Objects, Interfaces
- Provides access to system resources
- Native APIs through P/Invoke
- COM integration
7Compilation Execution
Compilation
Code
Source Code
Metadata
8Architecture
VB
C
C
JScript
Visual Studio.NET
Common Language Specification
ASP.NET
Windows Forms
ADO.NET and XML
Base Class Library
Common Language Runtime
Windows
COM Services
9Common Language Specification
- Interface between the languages and the class
libraries - If you want to develop a library to be used by
multiple languages, you really have to follow the
CLS specifications
10Common Language Runtime
Base Class Library Support
Class Loader
11Design Points
- Simplify development
- More power, less plumbing
- Unify programming models
- Across languages and types
- Web standards and best practices
- Rich XML, standard protocols, stateless
- Easier to deploy, run, maintain
- Versioning and availability
12Architecture
VB
C
C
JScript
Visual Studio.NET
Common Language Specification
ASP.NET
Windows Forms
ADO.NET and XML
Base Class Library
Common Language Runtime
Windows
COM Services
13BASE CLASS
http//msdn.microsoft.com/netframework/programming
/bcl/default.aspx
14.NET System Framework Namespaces
System.Web
System.Windows.Forms
Services
UI
Design
ComponentModel
Description
HtmlControls
Discovery
WebControls
Protocols
System.Drawing
Caching
Security
Drawing2D
Printing
Text
Configuration
SessionState
Imaging
System.Data
System.Xml
Common
SqlClient
Schema
Serialization
OleDb
SqlTypes
XPath
XPath
System
Collections
IO
Security
Runtime
InteropServices
Configuration
Net
ServiceProcess
Remoting
Diagnostics
Reflection
Text
Serialization
Globalization
Resources
Threading
15(No Transcript)
16WINDOWS NAMESPACE
http//msdn.microsoft.com/library/default.asp?url
/library/en-us/cpref/html/frlrfsystemwindowsforms.
asp
- Rich Windows applications
- Combines best of VB Forms
- Easy access to Win32 API
- Provides advanced features
- Visual forms inheritance, automatic layout
- Advanced graphics support
- Secure
- Code access security prevents harm
- No Internet Explorer security dialogs! -- ??
17ADO (DATA) NAMESPACE
http//msdn.microsoft.com/library/default.asp?url
/library/en-us/cpref/html/frlrfsystemdata.asp
- Managed Providers
- Stream-level access to data sources
- Fastest way to get data out of SQL
- ADO.NET
- DataSet In-memory buffer
- DataReader Synonymous with RecordSet
18XML NAMESPACE
http//msdn.microsoft.com/library/default.asp?url
/library/en-us/cpref/html/frlrfsystemxml.asp
- System.Xml - Great Standards support
- 100 OASIS compliance
- XSLT 1.0, XPath 1.0, XSD 1.0, DOM2
19ASP (WEB) NAMESPACE
http//msdn.microsoft.com/library/default.asp?url
/library/en-us/cpref/html/frlrfSystemWeb.asp
20.NET Framework Namespaces
ASP.NET
Windows
ADO.NET
XML
Base Class Library
21Architecture
VB
C
C
JScript
Visual Studio.NET
Common Language Specification
ASP.NET
Windows Forms
ADO.NET and XML
Base Class Library
Common Language Runtime
Windows
COM Services
22ASP.NET
- ASP.NET is a revolutionary advance of ASP
- Existing ASP skills still work fine
- but lots more features to leverage
- Core themes that ASP.NET has focused on
- Making it easier to build, deploy, and operate
- Providing great performance and scalability
- Supported platforms
- Windows 2000 and Windows XP
- Open hosting APIs
23ASP.NET Development
- Server controls encapsulate behavior
- Provide VB-Like Model
- Support compiled languages
- VB, C, JScript, COBOL, etc.
- Enable separation of code from content
- Work independently
- Support multiple clients automatically
- Mobile controls for small devices
24ASP.NET Web Services
- Simple Programming Model
- Author .asmx files
- SOAP messages mapped to methods
- HTTP or XML knowledge not required
- Multiple Message Formats
- SOAP messaging support
- HTTP Get/Post
- Extensible model for innovation
25N-Tier .NETXml Web Services
Rich Client Or Service
ComponentTier
SQL Server
1
Web Tier
1
IIS aspnet_wp
IIS aspnet_wp
.NET Rich Client Or Service (no sandbox)
1
26Breadth of Capabilities
- Direct TCP Networking
- System.Net
- Message Queuing
- System.Messaging
- Distributed Objects
- System.Runtime.Remoting
- Xml Web Services
- System.Web.Services
27QUESTIONS??? Also, Thanks to Ryan Dunn who
developed many of these slides in their original
state.