Welcome to Windows Communication Foundation (WCF)
Top Tasks :

IExtension Sample

File Details
Downloads: 669 File Size: 109kB
Posted By: Scott Mason Views: 2079
Date Added: Fri, Jun 23 2006

This sample demonstrates the use of IExtension to store state at the ServiceHost level, the Instance level and at the operation level.
The server is self-hosted with two separate servicehost's.  One servicehost contains one endpoint and the other contains three.  Each contract contains two operations.  The extensions are applied by adding attributes at the appropriate level.
Go ahead and play around with the InstanceContextMode and use multiple clients for even more fun!


 

Comments
No comments exist for this file.

Add Comment

Name (required)
Web Site (optional)
Comment (required)
Add

Copyright © 2006 Microsoft Corporation. All Rights Reserved. | Terms of Use | Privacy Statement | Contact Us