开发者

how to get azure appfabric nettcprelaybinding working in an azure webrole

you would think this would be easy since Azure Appfabric is supposedly part of Azure.

Firstly Microsoft.ServiceBus.dll isnt on the VM; fixed that

Now the tcprelay bind fail: the binding type is unknown. So I called

    RelayConfigurationIns开发者_JAVA技巧taller.AddRelayConfiguration(config);

In Application_Start

Nope, same error. So I copied relayconfigurationinstaller.exe to the VM, ran it using RDP.

Nope, same error.

Any ideas?

EDIT: This is the error I am talking about

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

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

the installers set the v2 clr config files; I am using v4 clr.

EDIT: well that binary works now but the API calls still dont work. (which is the preferred way of doing things)


Not pretty sure if this helps, but you need to add the AppFabric WCF extensions on your machine.config or yor app.config.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜