Skip to content

Instantly share code, notes, and snippets.

@jpda
Created January 6, 2016 21:59
Show Gist options
  • Select an option

  • Save jpda/13fb7fd6f10072ae1644 to your computer and use it in GitHub Desktop.

Select an option

Save jpda/13fb7fd6f10072ae1644 to your computer and use it in GitHub Desktop.
WCF Client sample app.config
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IAuthService" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:24195/AuthService.svc" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IAuthService" contract="Auth.IAuthService"
name="BasicHttpBinding_IAuthService" />
</client>
</system.serviceModel>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment