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. 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. 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. KEY FEATURES OF WCF ROUTING SERVICE
• Content-based routing
• Protocol bridging
• SOAP processing
• Advanced error handling
• Backup endpoints
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.
9. 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.
11. • Complex architecture
• REST base services
• Custom message filters that are too heavy.
WHERE NOT USE WCF ROUTING SERVICE