Você está na página 1de 16

Introduction to the .

NET
Platform

Visual Studio.NET

Orchestration

Internet
.NET Building
.NET
Enterprise Block
Framework
Servers Services
COM+

Windows.NET

March 9, 2010 C# 프로그래밍 1


.NET Platform

 Platform : provides all of the tools and


technologies that you need to build
distributed WEB applications.
 The .NET Framework
 The .NET Building Block Services : distributed
programmable service
 The .NET Enterprise Servers : SQL Server 2000,
BizTalk Server 2000, Commerce Server 2000, …
 Visual Studio.NET : development environment for
building applications on the .NET framework

March 9, 2010 C# 프로그래밍 2


The .NET Framework
Architecture

March 9, 2010 C# 프로그래밍 3


Benefits of the .NET Framework

 Based on Web Standards and Practices


 Designed Using Unified Application
Models
 Easy for Developers to Use
 Extensible Classes
.NET Framework

Visual Basic
MFC / ATL ASP
Forms

Windows API

March 9, 2010 C# 프로그래밍 4


• The .NET Framework
Components
 Common Language Runtime
 .NET Framework Class Library
 ADO.NET : Data and XML
 Web Forms and XML Web Services
 User Interface for Windows

March 9, 2010 C# 프로그래밍 5


Common Language Runtime

Base Class Library Support


Thread Support COM Marshaler
Type Checker Exception Manager
Security Engine Debugger
MSIL to Native Code Manager Garbage
Compilers Collector

Class Loader
March 9, 2010 C# 프로그래밍 6
CLR Features – Managed Code
 Class Loader – Manages metadata, and loading and layout
of classes
 MSIL – Microsoft Intermediate Language to native
compiler
 Code Manager – Manages code execution
 Garbage Collection, Security Engine, Debugger
 Type Checker – Does not allow unsafe casts or
uninitialized variables.
 Exception Manager – Provides structured exception
handling.
 Thread Support – Provides classes and interfaces that
enable multithreaded programming
 Class Library Support – Integrates code with the runtime
that supports the .NET Framework class library

March 9, 2010 C# 프로그래밍 7


The .NET Framework Class
Library
 Spans All Programming Languages
– Enables cross language inheritance and
debugging
– Integrates well with tools
 Is Object Oriented and Consistent
– Organized into namespaces and classes
 Has a Built-in Common Type System
– Type safe
 Is Extensible
– Easy to add or modify framework features
 Is Secure

March 9, 2010 C# 프로그래밍 8


The .NET Framework Class
Library

System.Runtime.
System System.Security
InteropServices

System.
System.Net System.Text
Globalization

System. System.
System.Threading
Reflection Configuration

System. System.
System.IO
Diagnostics Collections

March 9, 2010 C# 프로그래밍 9


ADO.NET : Data and XML

ADO.NET : Data & XML

System.Data System.Xml

DataSet DataRow System.Xml.Schema

DataTable DataView System.Xml.Serialization

March 9, 2010 C# 프로그래밍 10


Web Forms and XML Web
Services
ASP.NET

System.Web
Services UI

Description HtmlControls
Discovery
WebControls
Protocols

Caching Security

Configuration SessionState

March 9, 2010 C# 프로그래밍 11


What is a Web Service ?

 Web Services are units of application


logic that provide data and services to
other applications.
 Application access Web Services by
means of HTTP, XML and SOAP
 UDDI : Universal Description, Discovery,
and Integration
 WSDL : Wed Services Description
Language
 SOAP : Simple Object Access Protocol

March 9, 2010 C# 프로그래밍 12


What is a Web Service ?
Web Service : A Programmable Application
Component Accessible via Standard Web
Protocols

UDDI Provide a Directory of Services on the


Internet

WSDL Web Services are Defined in terms of the


Formats and Ordering of Messages

SOAP Web Services Consumers can Send and


Receive Messages Using XML
XML,HTTP Built Using Open Internet Protocols

March 9, 2010 C# 프로그래밍 13


ASP.NET

 ASP.NET is a programming framework


built on the CLR that can be used on a
server to build powerful Web
application.
 ASP.NET classes
– System.Web
– System.Web.Services
– System.Web.UI.HtmlControls
– System.Web.UI.WebControls

March 9, 2010 C# 프로그래밍 14


User Interface for Windows

System.Windows.Forms

System.Drawing

March 9, 2010 C# 프로그래밍 15


Languages in the .NET
Framework
 C# - Designed for .NET
• New Componet-oriented language
 Managed Extensions to C++
• Enhanced to provide more power and
control
 Visual Basic.NET
• New version of Visual Basic
 JScript.NET
• New version of JScript
 Third-party Languages
March 9, 2010 C# 프로그래밍 16

Você também pode gostar