Поделиться через


Tutorial: Create a Durable Service

Durable services are Windows Communication Foundation (WCF) services that use context bindings, attributes, and new configuration elements to persist service state information to a store, such as a SQL database, which means that durable services have the capability to restore their own state when they are recycled. Durable services are useful when implementing long-running stateful conversations.

In this tutorial, you will create a durable service that persists its state information to a SQL database.

In This Section

Task 1: Define and Implement the Durable Service Contract

Task 2: Enable Persistence for the Durable Service

Task 3: Create a Durable Service Client

Reference

DurableOperationAttribute

DurableOperationContext

DurableServiceAttribute

PersistenceProviderElement

SqlPersistenceProviderFactory

WSHttpContextBinding

How to: Enable Persistence for a Durable Service

See Also

Other Resources

Durable Workflow Services Sample
Windows Workflow Foundation Tutorials

Copyright © 2007 by Microsoft Corporation. All rights reserved.
Last Published: 2010-03-04