如何让azure appfabric nettcprelaybinding在天蓝色的webrole中工作

时间:2011-02-28 22:36:39

标签: azure appfabric

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

首先,VM上没有Microsoft.ServiceBus.dll;修好了

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

    RelayConfigurationInstaller.AddRelayConfiguration(config);

在Application_Start

不,同样的错误。所以我将relayconfigurationinstaller.exe复制到VM,使用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调用仍然无效。 (这是做事的首选方式)

1 个答案:

答案 0 :(得分:0)

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

相关问题