Developing Services

T13 Creating Scalable Stateful Services Using WCF and WF


3:00 PM - 4:15 PM

Level: Intermediate

Marcel de Vries



Most people know today that a stateless programming model is one that scales the best. But how can you build services that act upon message exchange patterns without managing all the state yourself. How can you build a system that recovers from system reboots without even bothering about it? In this session I will show how you can build stateless WCF services that appear to be stateful by leveraging Windows Workflow Foundation. We will use the concept of Workflow Services to implement a SOA based architecture that is resilient to system reboots while implementing stateful message exchange patterns.

You will learn:

  • Core concepts that provide scalability
  • To leverage Windows Workflow foundation as an architectural building block
  • To leverage Workflow Services
  • To handle message correlation
  • To implement long running work without blocking the call