Advertisement
techguyalabama

App.config

Dec 8th, 2022
925
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.17 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.8" />
  5.     </startup>
  6.     <system.serviceModel>
  7.         <bindings>
  8.             <basicHttpBinding>
  9.                 <binding name="BasicHttpBinding_ITruckService" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
  10.                     <security mode="Transport">
  11.                         <transport clientCredentialType="Basic" />
  12.                     </security>
  13.                             <readerQuotas maxDepth="32" maxStringContentLength="2147483647"
  14.                                           maxArrayLength="2147483647" maxBytesPerRead="4096"
  15.                                           maxNameTableCharCount="16384" />
  16.                 </binding>
  17.             </basicHttpBinding>
  18.         </bindings>
  19.         <client>
  20.             <endpoint address="https://somewebsite.net/service/Service.svc"
  21.                binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ITruckService"
  22.                contract="TruckServiceReference.ITruckService" name="BasicHttpBinding_ITruckService" />
  23.         </client>
  24.     </system.serviceModel>
  25. </configuration>
Tags: app.config
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement