title: How To Hard Code App.Config In dll file? C#
body: <p>I am writing dll file for SAP B1, i need to embed App.Config in dll, no other option. Dll is using Web Service.</p>
  
  <p>This is how my App.config looks like:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;configuration&gt;
      &lt;system.serviceModel&gt;
          &lt;bindings&gt;
              &lt;basicHttpBinding&gt;
                  &lt;binding name="WayBillsSoap"&gt;
                      &lt;security mode="Transport" /&gt;
                  &lt;/binding&gt;
                  &lt;binding name="WayBillsSoap1" /&gt;
              &lt;/basicHttpBinding&gt;
          &lt;/bindings&gt;
          &lt;client&gt;
              &lt;endpoint address="https://services.rs.ge/WayBillService/WayBillService.asmx"
                  binding="basicHttpBinding" bindingConfiguration="WayBillsSoap"
                  contract="WayBillWS.WayBillsSoap" name="WayBillsSoap" /&gt;
          &lt;/client&gt;
      &lt;/system.serviceModel&gt;
  &lt;/configuration&gt;
  </code></pre>