WCF set bindings on service at runtime

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-04-12T16:31:11Z Indexed on 2010/04/12 16:32 UTC
Read the original article Hit count: 1529

Filed under:
|

My app has to be installed on my client's webservers. Some clients want to use SSL and some do not. My app has a WCF service and I currently have to go into the web.config for each install and switch the security mode from to depending on the client's SSL situation. I am able to set the client bindings at runtime. However, I would like to know if there is a way to set the service bindings at runtime(on the server side).

© Stack Overflow or respective owner

Related posts about wcf

Related posts about wcf-binding