[英]How do I use the Azure WCF Relay and Hybrid Connections Buttons?
I followed this Microsoft tutorial which explains how to make a C# solution using the WCF Relay and everything works. 我遵循了此Microsoft教程 ,该教程说明了如何使用WCF中继制作C#解决方案,并且一切正常。
In the creation of the Relay namespace, however, I realized that there are two buttons: 但是,在创建Relay名称空间时,我意识到有两个按钮:
Add WCF Relay and Add Hybrid Connection buttons 添加WCF中继和添加混合连接按钮
I wanted to know how and when to use, in the examples and in the Microsoft documentation there is no trace. 我想知道如何以及何时使用,在示例和Microsoft文档中没有任何痕迹。
I wanted to know how and when to use, in the examples and in the Microsoft documentation there is no trace.
我想知道如何以及何时使用,在示例和Microsoft文档中没有任何痕迹。
The Create a hybrid on-premises/cloud application tutorial you mentioned is creating the Relay namespace and create a NetTcp WCF Relay named products under the relay namespace. 您提到的“创建本地/云混合应用程序”教程正在创建中继名称空间,并在中继名称空间下创建一个名为产品的NetTcp WCF中继 。 For Hybrid Connection under your relay namespace, you could follow Get started with Relay Hybrid Connections .
对于中继名称空间下的Hybrid Connection ,您可以遵循Relay Hybrid Connections入门 。
Additionally, you could also manually create the Service Bus and use ServiceBusEnvironment.CreateServiceUri
to create the WCF Relay url, more detailed tutorial you could follow How to use Azure Relay WCF relays with .NET . 此外,您还可以手动创建服务总线,并使用
ServiceBusEnvironment.CreateServiceUri
创建WCF中继URL,您可以按照如何使用Azure中继WCF中继与.NET进行更详细的介绍。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.