Geeks With Blogs

Martin S. Johansen Senior ALM Expert at Inmeta Consulting, Norway October 2012 Entries
Hosting and consuming WCF services without configuration files
In this post, I'll demonstrate how to configure both the host and the client in code without the need for configuring services i the <system.serviceModel> section of the config-file. In fact, you don't need a <system.serviceModel> section at all. What you'll do need (and want) sometimes, is the Uri of the service in the configuration file. Configuring the Uri of the the service is actually only needed for the client or when self-hosting, not when hosting in IIS. So, exactly What do we ......

Posted On Sunday, October 14, 2012 4:58 PM

Copyright © Martin S. Johansen | Powered by: