+ All Categories
Home > Documents > Net framework

Net framework

Date post: 15-Apr-2017
Category:
Upload: sumit1503
View: 187 times
Download: 0 times
Share this document with a friend
32
The Microsoft® .NET Framework Presented by Joseph J. Sarna Jr., MCSD JJS Systems, LLC
Transcript
Page 1: Net framework

The Microsoft® .NET Framework

Presented by

Joseph J. Sarna Jr., MCSDJJS Systems, LLC

Page 2: Net framework

Agenda

• Introduction to .NET and Web Services• The .NET Framework• Common Language Runtime• .NET Framework Services• Common Language Specification• .NET Development Tools

Page 3: Net framework

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

Page 4: Net framework

What is .NET?

• .NET is Microsoft’s entry into the Web services arena• XML based

Page 5: Net framework

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

Page 6: Net framework

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

Page 7: Net framework

XML Is The Core

• Simple, open, broadly adopted

• Continues the Web’s open standards

• Enables powerful distributed apps

• A universal data exchange format

Page 8: Net framework

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

Page 9: Net framework

SOAP Simple Object Access Protocol

• Internet becomes integration fabric• Broad industry support

• IBM, Iona, Ariba, Compaq, Lotus, Commerce-One, HP, SAP, others

• Submitted to W3C: • http://www.w3.org/TR/SOAP/

• XML-based integration for web services

Page 10: Net framework

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

Page 11: Net framework

Agenda

• Introduction to .NET and Web Services• The .NET Framework• Common Language Runtime• .NET Framework Services• Common Language Specification• .NET Development Tools

Page 12: Net framework

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

Page 13: Net framework

.NET Framework, Languages, Tools

Base Class Library

Common Language Specification

Common Language Runtime

Data and XML

VB C++ C#

Visual Studio.NET

WebServices

JScript …

UserInterface

Page 14: Net framework

Agenda

• Introduction to .NET and Web Services• The .NET Framework• Common Language Runtime• .NET Framework Services• Common Language Specification• .NET Development Tools

Page 15: Net framework

Common Language Runtime

Base Class Library

Common Language Specification

Common Language Runtime

Data and XML

VB C++ C#

Visual Studio.NET

WebServices

JScript …

UserInterface

Page 16: Net framework

The .NET Common Language Runtime• Manages running code

• Threading• Memory management

• Multi-language• Inheritance, Errors, Debugging

• Fine-grained evidence-based security• Code access security• Role-based security• Integrated with underlying OS

• “No-touch” deployment

Page 17: Net framework

Common Language Runtime

Class Loader

IL to NativeCompilers

CodeManager

GarbageCollector

Security Engine Debug Engine

Type Checker Exception Manager

Thread Support COM Marshaler

Base Class Library Support

Page 18: Net framework

Common Language Runtime Design Goals

• Dramatically simplify application development• Provide a robust and secure execution environment• Support multiple programming languages• Simplify deployment and management

Page 19: Net framework

Agenda

• Introduction to .NET and Web Services• The .NET Framework• Common Language Runtime• .NET Framework Services• Common Language Specification• .NET Development Tools

Page 20: Net framework

.NET Framework Services

Base Class Library

Common Language Specification

Common Language Runtime

Data and XML

VB C++ C#

Visual Studio.NET

WebServices

JScript …

UserInterface

Page 21: Net framework

.NET Framework Services

• ASP.NET– Logical evolution of ASP (compiled)

• Web forms– Manageable code (non spaghetti)

• Windows® forms– Framework for building rich clients

• ADO.NET, evolution of ADO– New objects (e.g., DataSets)

• XML Support Throughout

Page 22: Net framework

Some .NET Base Class Libraries

System

System.Data System.Xml

System.Web

GlobalizationDiagnosticsConfigurationCollections

ResourcesReflectionNetIO

ThreadingTextServiceProcessSecurity

DesignADO

SQLTypesSQL

XPathXSLT

Runtime InteropServices Remoting Serialization

Serialization

Configuration SessionStateCaching Security

Services Description Discovery Protocols

UI HtmlControls WebControls

System.Drawing

ImagingDrawing2D

TextPrinting

System.WinFormsDesign ComponentModel

Page 23: Net framework

Agenda

• Introduction to .NET and Web Services• The .NET Framework• Common Language Runtime• .NET Framework Services• Common Language Specification• .NET Development Tools

Page 24: Net framework

Common Language Specification

Base Class Library

Common Language Specification

Common Language Runtime

Data and XML

VB C++ C#

Visual Studio.NET

WebServices

JScript …

UserInterface

Page 25: Net framework

Common Language Specification

• What about types?– Common type system (CTS)

• Other languages and compilers– Common Language Specification (CLS)

Page 26: Net framework

.NET Languages

• The .NET Platform is Language Neutral• All .NET languages perform the same• You can leverage your existing skills

• Common Language Specification• Consumer: Can use the .NET Framework• Extender: Can extend the .NET Framework

• Microsoft provides:• VB, C++, C#, JScript

• Third-parties are building• APL, COBOL, Pascal, Eiffel, Haskell, ML, Oberon, Perl,

Python, Scheme, Smalltalk

Page 27: Net framework

.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

Page 28: Net framework

Agenda

• Introduction to .NET and Web Services• The .NET Framework• Common Language Runtime• .NET Framework Services• Common Language Specification• .NET Development Tools

Page 29: Net framework

.NET Development Tools

Base Class Library

Common Language Specification

Common Language Runtime

Data and XML

VB C++ C#

Visual Studio.NET

WebServices

JScript …

UserInterface

Page 30: Net framework

Visual Studio® .NET

.NET .NET PlatformPlatform

Man

age

Man

age

and

Col

labo

rate

and

Col

labo

rate

DeploymentDeployment

TestingTesting

DevelopmentDevelopment

DesignDesign

AnalysisAnalysis

PlanningPlanning

Page 31: Net framework

Summary

• We covered:– Introduction to .NET and Web Services– The .NET Framework– Common Language Runtime– .NET Framework Services– Common Language Specification– .NET Development Tools

Page 32: Net framework

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


Recommended