gpt4 book ai didi

azure - 如何让 azure appfabric nettcprelaybind 在 azure webrole 中工作

转载 作者:行者123 更新时间:2023-12-02 07:32:34 27 4
gpt4 key购买 nike

您可能会认为这很容易,因为 Azure Appfabric 应该是 Azure 的一部分。

首先,Microsoft.ServiceBus.dll 不在虚拟机上;修复了这个问题

现在 tcprelay 绑定(bind)失败:绑定(bind)类型未知。所以我打电话

    RelayConfigurationInstaller.AddRelayConfiguration(config);

在Application_Start中

不,同样的错误。因此,我将relayconfigurationinstaller.exe复制到虚拟机,并使用RDP运行它。

不,同样的错误。

有什么想法吗?

编辑:这是我正在谈论的错误

ConfigurationErrorsException: Configuration binding extension 'system.serviceModel/bindings/netTcpRelayBinding' could not be found. Verify that this binding extension is properly registered in system.serviceModel/extensions/bindingExtensions and that it is spelled correctly.]

答案:http://www.wadewegner.com/2010/05/net-framework-4-0-and-the-azure-appfabric-sdk/

安装程序设置 v2 clr 配置文件;我正在使用 v4 clr。

编辑:二进制文件现在可以工作,但 API 调用仍然不起作用。 (这是首选的做事方式)

最佳答案

不太确定这是否有帮助,但您需要在 machine.config 或 app.config 上添加 AppFabric WCF 扩展。

关于azure - 如何让 azure appfabric nettcprelaybind 在 azure webrole 中工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5148398/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com