patryk_szwed

app.config client _ TEGO NIE

May 13th, 2019
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3. <startup>
  4. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
  5. </startup>
  6. <system.serviceModel>
  7. <bindings>
  8. <basicHttpBinding>
  9. <binding name="BasicHttpBinding_ICCalculator" />
  10. </basicHttpBinding>
  11. <wsDualHttpBinding>
  12. <binding name="WSDualHttpBinding_ICallbackKalkulator" />
  13. </wsDualHttpBinding>
  14. </bindings>
  15. <client>
  16. <endpoint address="http://localhost:10010/MyBaseName/endpoint1"
  17. binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ICCalculator"
  18. contract="ServiceReference1.ICCalculator" name="endpoint1" />
  19. <endpoint address="http://localhost:20010/MyBaseName/endpoint2/CallbackKalkulator"
  20. binding="wsDualHttpBinding" bindingConfiguration="WSDualHttpBinding_ICallbackKalkulator"
  21. contract="ServiceReference2.ICallbackKalkulator" name="WSDualHttpBinding_ICallbackKalkulator">
  22. <identity>
  23. <userPrincipalName value="DESKTOP-3KQLNAR\Patryk" />
  24. </identity>
  25. </endpoint>
  26. </client>
  27. </system.serviceModel>
  28. </configuration>
Add Comment
Please, Sign In to add comment