You are on page 1of 9

Location/ Address Endpoints Binding Contract Application Endpoint Infrastructure Endpoint Endpoints Standard Endpoint

Services Clients
Send Messages

Terminology

Communication Protocols

WCF

Encodings

Messaging Patterns

Runtime

API

Request/ Reply One-Way Duplex Communication

Message

Header Body

Service
Receive

endpoints Service Operations

Send

Address Binding

URI

Contract

Boundaries are explicit

Services are Autonomous

Know your boundaries Services should be easy to consume Avoid RPC interfaces instead use explicit messages Fewer public interfaces that accept well defined messages Dont expose implementation details

Service versioning and deployment are independent of the system in which they are deployed Contracts, once published, should not be changed Adopt a pessimistic approach, and isolate services from failure

Services
Services Share the Schema and Contract, Not the Class

Service Compatibility Is Based on Policy Service contract should contain the message formats, message exchange patterns, WS-Policy requirements If breaking service contracts is inescapable, then version the services, because this minimizes the ripple effect to existing consumers of the service Do not expose internal data representation publicly; the public data scheme should be absolute

A policy assertion identifies a behavior of a policy entity and provides domain-specific semantics.

Services

Aggregate Components

Services Reused in Heterogeneous Env.

Component A

Component B

accessible through messages using open standards

Service Definitions deployed along with Service

Contracts

Policies

Exchange structured and Typed Information Defines Schema

Lightweight communication protocol for web services based on XML.

Platform Independent

SOAP

Interoperability

WCF
Service Oriented Development
Unification of Existing Distributed Technology

Web Service Enhancement ASMX System.Messaging

Interoperability

WCF
Enterprise Solutions

Attribute- Based Programming Extensibility and Location Transparency

.Net Remoting

http Endpoint 1
Transaction Support

WCF Service Endpoint 2

TCP Reliability Security

Service Orientation Concepts Entity Abstract

WCF Concepts Data Contract

Message

Message Contract

Interface

Service Contract

Concrete

Transport

Binding

Endpoint

Deployment

You might also like