Welcome to Windows Communication Foundation (WCF)
Top Tasks :

Getting Config From Alternate Source Sample

File Details
Downloads: 1493 File Size: 84kB
Posted By: Scott Mason Views: 3094
Date Added: Wed, Jun 28 2006
This sample demonstrates subclassing the ServiceHost class and overriding the ApplyConfiguration method to get your configuration from alernate sources (other than the app.config or web.config).  Although the 'config' in this case is simply a method call that returns hard coded data, you could just as easily get that data from a database or xml or some other source.

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