c# - 寻找不使用 WCF 的 Azure 服务总线中继示例

标签 c# azure servicebus azure-servicebusrelay

我正在尝试了解 Azure Web 服务中继,但我正在寻找一个在发送方和接收方均不使用 WCF 的 .NET (C#) 示例。 有人对 Azure 菜鸟有什么好的建议吗?

最佳答案

我认为目前Service Bus Relay只能公开在WCF中开发的服务。 This简短的“如何”页面特别提到了 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...

当然,即使在今天,也可以使用没有 WCF 的服务,具体取决于您使用的绑定(bind)和客户端功能,但是中继服务“协商”的许多逻辑是通过 WCF 实现的。

我想,只要付出足够的努力,就有可能将其从 WCF 中删除,但我不认为 Microsoft 提供了类似的东西,而且到目前为止我还没有看到任何尝试。

关于c# - 寻找不使用 WCF 的 Azure 服务总线中继示例,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21560287/

相关文章:

C#网络编程

c# - 在数据表中添加标签

azure - 使用 ReceiveMode.ReceiveAndDelete 处理在 Azure 暂存中运行的 ServiceBus 主题订阅者的技术

Azure 服务总线 BrokeredMessage 已被使用?

c# - 当具有服务总线队列的工作角色完成其处理时,如何通知?

c# - 如何在 Asp.Net MVC 4 中模拟 HttpContext.User.Identity.Name

c# - 如何将 DebuggerHidden 与迭代器 block 方法结合使用?

Azure Sentinel 示例数据 CSV

visual-studio-2010 - 为什么我会看到 "No applicable role project templates found"错误?

azure - 无法坚持使用 SSL 的应用程序网关重定向的自定义域