making wcf simple

31

Upload: jesusmrv

Post on 01-Nov-2014

2.256 views

Category:

Technology


4 download

DESCRIPTION

This presentation covers best practices for developing WCF applications in the real world.

TRANSCRIPT

Page 1: Making WCF Simple
Page 2: Making WCF Simple

Chief Architect, Tellago, Tellago Studios, Inc

Page 3: Making WCF Simple

http://weblogs.asp.net/gsusx

Page 4: Making WCF Simple
Page 5: Making WCF Simple
Page 6: Making WCF Simple
Page 7: Making WCF Simple
Page 8: Making WCF Simple
Page 9: Making WCF Simple

Service Versioning

Remove Endpoint-Coupling Between Services and Clients

Managing WCF Configuration

WCF Services Availability

Monitoring Services

Security && Identity Management

Page 10: Making WCF Simple
Page 11: Making WCF Simple
Page 12: Making WCF Simple

Versioning services imposes large degrees of changes on the clients

Multiple versions of the same services might need to be running side by side

Solution: Use WCF Routing Service to abstract the communication across different service versions

Service v1

Routing Service Client

Service v2

Page 13: Making WCF Simple
Page 14: Making WCF Simple
Page 15: Making WCF Simple

Clients are dependent on WCF endpoint changes

High availability requires the deployment of expensive hardware solutions

Solution: Use WS-Discovery to adapt to endpoint changes

Service

Service

Client

WS-Discovery Probe, Match

WS-Discovery Probe, Match

Page 16: Making WCF Simple
Page 17: Making WCF Simple
Page 18: Making WCF Simple

Complexity

Enforcing reusability and consistency across services, clients and environments

Solution: Centralize WCF configuration

Service

Configuration Repository

Client

GET service/config GET client/config

Page 19: Making WCF Simple
Page 20: Making WCF Simple
Page 21: Making WCF Simple

Identifying when a service is available

Avoiding the need for executing service logic

Solution: Implement a Ping Operation Invoker

Service Client

Ping

Ping Operation Invoker

Ping Response

Page 22: Making WCF Simple
Page 23: Making WCF Simple
Page 24: Making WCF Simple

Instrument the message exchange between client and services

Collect near real time metrics about the service runtime behavior

Track the data exchange between clients and services

Solution: Enable and extend service tracking using the Windows Server AppFabric

Service

Client

Page 25: Making WCF Simple
Page 26: Making WCF Simple

Security

Identity management

Service dependency modeling

Interoperability

Governance

Testing

Page 27: Making WCF Simple

Adopting WCF in big SO solutions can introduce some interesting challenges

The extensibility of the WCF programming model together with well established patterns, tools and techniques that can help to address those challenges

Start small, iterate, adopt what makes sense for your organization

Page 28: Making WCF Simple

Thanks!!!

[email protected] http://tellago.com http://tellagostudios.com http://weblogs.asp.net/gsusx

Page 29: Making WCF Simple

www.microsoft.com/teched www.microsoft.com/learning

http://microsoft.com/technet http://microsoft.com/msdn

http://northamerica.msteched.com

Page 30: Making WCF Simple
Page 31: Making WCF Simple