The Microsoft® .NET Framework
Presented by
Joseph J. Sarna Jr., MCSD
JJS Systems, LLC
Agenda
•
•
•
•
•
•
Introduction to .NET and Web Services
The .NET Framework
Common Language Runtime
.NET Framework Services
Common Language Specification
.NET Development Tools
How Did We Get to .NET?
The Evolution of Web Applications
•
First generation of Web applications -non-interactive
content (HTML static content)
•
Second generation of Web applications - scalable
back-end and a richer User Interface. (DCOM, ASP,
CGI, Cold Fusion, dynamic content)
•
Third generation of Web applications (.NET) - using
Web protocols and XML to allow better integration
between services on the Web
What is .NET?
•
•
.NET is Microsoft’s entry into the Web services arena
XML based
Why the Move to .NET?
•
DCOM works fine on an Intranet, however:
–
–
–
–
•
DCOM does not go through firewalls
Requires too many open TCP/IP ports
Requires Stateful connections
Platform dependent
Portals provide services however:
–
–
–
Non-standard interfaces
Hard to integrate with other applications
Not designed to use outside the scope of the portal
What Is A Web Service?
• A programmable application, accessible as a
component via standard Web protocols
• Defined in terms of the required formats and ordering
of messages
• You can ask a site for a description of the Web
Services it offers
• Web Service consumers can be any device - send and
receive messages using XML
• All built using open Internet protocols
XML Is The Core
•
Simple, open, broadly adopted
•
Continues the Web’s open standards
•
Enables powerful distributed apps
•
A universal data exchange format
XML Format
•
XML is a tagged mark-up representation of data
XML consists of a header section, a schema section,
and a data section
The header section defines the XML form itself
The schema section defines the format of the data
contained in the XML document
The data section provides the mapped data
•
C:\SicCodes.XML
•
•
•
•
SOAP
Simple Object Access Protocol
•
•
Internet becomes integration fabric
Broad industry support
•
•
Submitted to W3C:
•
•
IBM, Iona, Ariba, Compaq, Lotus, Commerce-One, HP, SAP,
others
http://www.w3.org/TR/SOAP/
XML-based integration for web services
Benefits of Web Services
•
•
•
•
•
Leverages exiting infrastructure
Allows the choice to buy or build the functionality
Use of tested standard modules for repeatability
Minimizes development time and cost
Allows integration between applications, platforms,
businesses
Agenda
•
•
•
•
•
•
Introduction to .NET and Web Services
The .NET Framework
Common Language Runtime
.NET Framework Services
Common Language Specification
.NET Development Tools
What Is the .NET Framework?
•
A collection of technologies that
–
–
–
•
Unite isolated Web applications
Make information available anytime, anywhere
Simplify development and deployment
How does .NET achieve the above?
–
–
–
Web Services
ADO.NET Datasets and XML support throughout the platform
Rich tools, runtime services and XCOPY Deployment
.NET Framework, Languages, Tools
VB
C++
C#
JScript
…
Common Language Specification
User
Interface
Data and XML
Base Class Library
Common Language Runtime
Visual Studio.NET
Web
Services
Agenda
•
•
•
•
•
•
Introduction to .NET and Web Services
The .NET Framework
Common Language Runtime
.NET Framework Services
Common Language Specification
.NET Development Tools
Common Language Runtime
VB
C++
C#
JScript
…
Common Language Specification
User
Interface
Data and XML
Base Class Library
Common Language Runtime
Visual Studio.NET
Web
Services
The .NET Common Language Runtime
•
Manages running code
•
•
•
Multi-language
•
•
Inheritance, Errors, Debugging
Fine-grained evidence-based security
•
•
•
•
Threading
Memory management
Code access security
Role-based security
Integrated with underlying OS
“No-touch” deployment
Common Language Runtime
Base Class Library Support
Thread Support
COM Marshaler
Type Checker
Exception Manager
Security Engine
Debug Engine
IL to Native
Compilers
Code
Manager
Class Loader
Garbage
Collector
Common Language Runtime Design Goals
•
•
•
•
Dramatically simplify application development
Provide a robust and secure execution environment
Support multiple programming languages
Simplify deployment and management
Agenda
•
•
•
•
•
•
Introduction to .NET and Web Services
The .NET Framework
Common Language Runtime
.NET Framework Services
Common Language Specification
.NET Development Tools
.NET Framework Services
VB
C++
C#
JScript
…
Common Language Specification
User
Interface
Data and XML
Base Class Library
Common Language Runtime
Visual Studio.NET
Web
Services
.NET Framework Services
•
ASP.NET
–
•
Web forms
–
•
Framework for building rich clients
ADO.NET, evolution of ADO
–
•
Manageable code (non spaghetti)
Windows® forms
–
•
Logical evolution of ASP (compiled)
New objects (e.g., DataSets)
XML Support Throughout
Some .NET Base Class Libraries
System.Web
Services
Description
Discovery
System.WinForms
UI
HtmlControls
Design
ComponentModel
WebControls
Protocols
System.Drawing
Caching
Security
Drawing2D
Printing
Configuration
SessionState
Imaging
Text
System.Data
System.Xml
ADO
SQL
XSLT
Design
SQLTypes
XPath
Serialization
System
Collections
IO
Security
Configuration
Net
ServiceProcess
Diagnostics
Reflection
Text
Remoting
Globalization
Resources
Threading
Serialization
Runtime
InteropServices
Agenda
•
•
•
•
•
•
Introduction to .NET and Web Services
The .NET Framework
Common Language Runtime
.NET Framework Services
Common Language Specification
.NET Development Tools
Common Language Specification
VB
C++
C#
JScript
…
Common Language Specification
User
Interface
Data and XML
Base Class Library
Common Language Runtime
Visual Studio.NET
Web
Services
Common Language Specification
•
What about types?
–
•
Common type system (CTS)
Other languages and compilers
–
Common Language Specification (CLS)
.NET Languages
•
The .NET Platform is Language Neutral
•
•
•
Common Language Specification
•
•
•
Consumer: Can use the .NET Framework
Extender: Can extend the .NET Framework
Microsoft provides:
•
•
All .NET languages perform the same
You can leverage your existing skills
VB, C++, C#, JScript
Third-parties are building
•
APL, COBOL, Pascal, Eiffel, Haskell, ML, Oberon, Perl,
Python, Scheme, Smalltalk
.NET Languages Available (or soon to be)
•
•
•
•
•
•
•
•
•
•
Visual Basic
C#
Jscript
C++
Perl
Python
COBOL
Haskell
ML
Ada
•
•
•
•
•
•
•
•
•
•
Pascal
C
SmallTalk
Oberon
Scheme
Mercury
APL
Eiffel
Oz
Objective Caml
Agenda
•
•
•
•
•
•
Introduction to .NET and Web Services
The .NET Framework
Common Language Runtime
.NET Framework Services
Common Language Specification
.NET Development Tools
.NET Development Tools
VB
C++
C#
JScript
…
Common Language Specification
User
Interface
Data and XML
Base Class Library
Common Language Runtime
Visual Studio.NET
Web
Services
Visual Studio® .NET
Manage
and Collaborate
Planning
Analysis
Design
Development
Testing
Deployment
.NET
Platform
Summary
•
We covered:
–
–
–
–
–
–
Introduction to .NET and Web Services
The .NET Framework
Common Language Runtime
.NET Framework Services
Common Language Specification
.NET Development Tools
Resources for .NET
•
•
•
•
•
•
•
http://www.w3.org/TR/SOAP/ - W3C standards for SOAP
implementation
http://www.uddi.org – UDDI standards for web services
implementation
http://www.microsoft.com/net - Microsoft .NET home
http://msdn.microsoft.com/net - Microsoft .NET developers home
http://msdn.microsoft.com/xml - Microsoft XML developers home
http://msdn.microsoft.com/webservices – Microsoft Web Services
developers home
http://www.gotdotnet.com – Developers .NET resource
Descargar

Document