To list available contexts: kubectl config get-contexts To show the current context: kubectl config current-context…
Using a Different Configured Binding in WCF Client
To programmatically switch bindings on the fly, you can do it via the constructor of the generated client:
var client = new WeatherClient(“MyEndpoint”);
“MyEndpoint” is the name of the endpoint defined in your config file:
<client>
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="http1" contract="MyContract" name="MyEndpoint" />
</client>
This Post Has 0 Comments