2

In my WPF project, I use CodeFluent to generate my BOM and my WCF Service application. My WCF Service application is hosted on a separate server.

ServiceBinaryLargeObject data send by my WCF application contain a "ServerUrl" property. Its default value starts with [http://localhost:1027/xxxxxxxxx].

How can i change this default BITS host url?

Thanks to anyone that can help me on that ;)

Simon Mourier
  • 132,049
  • 21
  • 248
  • 298
Nicolas Law-Dune
  • 1,631
  • 2
  • 13
  • 30

1 Answers1

3

As explain in the CodeFluent Entities documentation (http://www.softfluent.com/documentation/BOM_BLOB_BITS_Url.html) you have to set the bitServerUrl attribute in the configuration file.

<configuration>
  <configSections>
    <section name="Sample" type="CodeFluent.Runtime.CodeFluentConfigurationSectionHandler, CodeFluent.Runtime"/>
  </configSections>

  <Sample connectionString="server=(local);database=Sample;Integrated Security=true"
          bitsServerUrl="http://localhost:1028/Sample/" />
</configuration>
meziantou
  • 20,589
  • 7
  • 64
  • 83