|
|
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!
|
|
|