WCF Introduction (1)

本文介绍了Windows Communication Foundation (WCF)如何统一多种通信框架,简化了连接系统的开发过程。重点讲解了WCF的设计原则、编程模型及其实现的互操作性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Connected Systems

   AN application distributed across multiple computer nodes.

 

 Connected System

Communication Challenges

l  Connected systems focus largely on communications

              Transport

              Message format

              Programming model

l  Numerous options exist (even just on Windows)

              Frameworks have targeted specific scenarios

              Interoperability has been difficult to achieve

Web Service

l  Web services simplify this mess by codifying standards

              Data format (XML)

              Messaging protocol (SOAP)

              Transport protocols (HTTP et al)

              Metadata (XSD/WSDL)

              Security, RM, Transactions (WS-*)

 

 

WCF(Windows Communication Framework)

l    The new framework for building connected systems on Windows Unifies the previous communication frameworks .Builds on Web services design principles

 

 

l        WCF simplifies the communication landscapes

 

 

Service Orientation

 

l  WCF builds on design principles of service orientation

              Autonomous services

              Explicit boundaries

              Discoverable via schema and policy

What is a Service

                       An application you interact with by exchanging messages

lOnly assumptions: message format & wire protocols

lNo dependencies on platform or product

lCompletely blackbox, only contract to guideService(

 

 

What Client needs to Know

l In order to do this clients must figure out:

¡Where to send the messages

¡How to send the messages

¡What the messages contain

l Services expose this information via endpoints

¡Services may expose multiple endpoints

¡Endpoints may cater to different clients

 

The ABC of Service endpoint

lAddress:where to send messages

lBinding:how to send the messages

l  Contract:what the messages must contains

 

 

WCF Programming Model

 

 

 

 

Interoperability

l  Ships with .NET 3.0 and runs in modern platformsWindows XP SP2, Windows Server 2003, Vista/Longhorn
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值