【问题标题】:How to change BITS host url如何更改 BITS 主机 url
【发布时间】:2014-01-22 08:56:06
【问题描述】:

在我的 WPF 项目中,我使用 CodeFluent 来生成我的 BOM 和我的 WCF 服务应用程序。 我的 WCF 服务应用程序托管在单独的服务器上。

我的 WCF 应用程序发送的 ServiceBinaryLargeObject 数据包含“ServerUrl”属性。 它的默认值以 [http://localhost:1027/xxxxxxxxx] 开头。

如何更改此默认 BITS 主机 URL?

感谢任何可以帮助我的人;)

【问题讨论】:

    标签: microsoft-bits codefluent


    【解决方案1】:

    如 CodeFluent 实体文档 (http://www.softfluent.com/documentation/BOM_BLOB_BITS_Url.html) 中所述,您必须在配置文件中设置 bitServerUrl 属性。

    <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>
    

    【讨论】:

      猜你喜欢
      • 2013-06-27
      • 2021-10-04
      • 1970-01-01
      • 1970-01-01
      • 2014-03-04
      • 1970-01-01
      • 2016-10-11
      • 1970-01-01
      • 2019-03-18
      相关资源
      最近更新 更多