This documentation is archived and is not being maintained.

Instancing Extensibility Samples

The samples in this section demonstrate some Windows Communication Foundation (WCF) instancing extensibility scenarios.

In This Section

Durable Instance Context
Demonstrates how to customize the WCF runtime to enable durable instance contexts. It uses SQL Server 2005 as its backing store (SQL Server 2005 Express in this case).

Instancing Initialization
This sample extends the Pooling sample by defining an interface, IObjectControl, which customizes the initialization of an object by activating and deactivating it. The client invokes methods that return the object to the pool and that do not return the object to the pool.

Demonstrates how to extend the WCF to support object pooling.

Demonstrates how to use the IInstanceContextProvider interface to share InstanceContext objects across multiple calls and clients.

See Also

© 2007 Microsoft Corporation. All rights reserved.