简体   繁体   English

寻找不使用WCF的Azure Service Bus Relayed示例

[英]Looking for a Azure Service Bus Relayed example that does not use WCF

I'm trying to get my head around Azure Web Service Relay, but I'm looking for a .NET (C#) example that does NOT use WCF - both on the sender and receiver side. 我正在设法绕过Azure Web Service Relay,但我正在寻找一个不使用WCF的.NET(C#)示例-在发送方和接收方均如此。 Does anyone have any good suggestions for an Azure rookie? 有人对Azure新秀有什么好的建议吗?

I believe that currently Service Bus Relay can only expose services developed in WCF. 我认为,当前的服务总线中继只能公开WCF中开发的服务。 This brief 'how to' page specifically mentions WCF and I do not think it's an accident (my bold)- 这个简短的“操作方法”页面专门提到了WCF,我认为这并非偶然(我的粗体字),

The Service Bus relay facilitates this by enabling you to securely expose Windows Communication Foundation (WCF) services that reside within a corporate enterprise network to the public cloud... Service Bus中继通过使您能够将驻留在企业网络中的Windows Communication Foundation(WCF)服务安全地暴露给公共云来简化此操作。

Consuming services without WCF is, of course, possible even today, depending on which binding you use and the client capabilities, but a lot of the logic of the relay service 'negotiation' is implemented over WCF. 当然,即使在今天,仍可以使用不带WCF的服务,这取决于您使用的绑定和客户端功能,但是中继服务“协商”的许多逻辑是通过WCF实现的。

I would imagine that, with enough effort, it would be possible to take it out of WCF, but I don't think Microsoft provides anything like that and I haven't seen any attempts so far. 我可以想象,只要有足够的努力,就有可能将其从WCF中删除,但是我不认为Microsoft提供了类似的功能,并且到目前为止我还没有看到任何尝试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM