microsoft-bits - 如何更改 BITS 主机 URL

标签 microsoft-bits codefluent

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

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

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

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

最佳答案

正如 CodeFluent Entities 文档 ( 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>

关于microsoft-bits - 如何更改 BITS 主机 URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21278264/

相关文章:

delphi - TIdHTTPServer 是否与 Microsoft BITS 兼容

.net - 如何将大文件从桌面传输到服务器 (.NET)

background-process - BITS 仍然是一个很好的后台更新技术吗?

authentication - Powershell BitsTransfer https基本身份验证语法

c - 以编程方式确定最大传输速率

sql - Multi-Tenancy 和 CodeFluent 实体设计

CodeFluent 方面 : How to Set up DropDown Input with Entity Properties

c# - Codefluent:线程结束后仍保持与数据库的连接

codefluent - 当 bool 参数值为 false 时,方法不会执行