Introduction to WCF Routing Service

1,582 views

Published on

A simple introduction to the world of WCF Routing Service. Easy to use demo.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,582
On SlideShare
0
From Embeds
0
Number of Embeds
720
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Introduction to WCF Routing Service

  1. 1. By Muhammad Nabeel July 28, 2013 INTRODUCTION TO WCF ROUTING SERVICE
  2. 2. ABOUT ME • Sr. Consultant at Neudesic • More than 14 years of experience • Currently working on WCF, Web API and MVC 4.0 • Blogs at mnabeelkhan.blogspot.com
  3. 3. AGENDA • What is WCF Routing Service? • Key features • Where to use and where not to use WCF Routing • Developing a WCF Routing Service • Demo • Q &A
  4. 4. WHAT IS WCF ROUTING SERVICE “A generic SOAP intermediary that has the ability to route messages based on message content” When a message is received on a router, it looks for: • Action header • Receive address • Address prefix • Message header
  5. 5. KEY FEATURES OF WCF ROUTING SERVICE • Content-based routing • Protocol bridging • SOAP processing • Advanced error handling • Backup endpoints
  6. 6. MESSAGE EXCHANGE PATTERNS (MEPS) • One-way: ISimplexDatagramRouter • One-way with session: ISimplexSessionRouter • Request-reply: IRequestReplyRouter • Duplex: IDuplexSessionRouter WCF routing listens to messages using the above mentioned MEPs.
  7. 7. WHERE TO USE AND WHERE NOT TO USE WCF ROUTING
  8. 8. EXAMPLES OF WCF ROUTING USES • To expose one service to outside world and route messages to other services that are hidden. • Bridge protocols (We would use that in our demo). • Load balancing. • Fault tolerance.
  9. 9. • Complex architecture • REST base services • Custom message filters that are too heavy. WHERE NOT USE WCF ROUTING SERVICE
  10. 10. DEMO Requirements • Visual Studio 2010+ • .NET 4.0 • Libraries • Simple Router • RoutingWithMessageModification
  11. 11. RESOURCES MSDN : http://msdn.microsoft.com/en-us/library/ee517421.aspx MSDN Magazine: http://msdn.microsoft.com/en-us/magazine/cc500646.aspx
  12. 12. QUESTIONS AND ANSWERS mnabeelkhan.blogspot.com

×