简体   繁体   English

如何使用Azure WCF中继和混合连接按钮?

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

相关问题 Azure Relay混合连接-如何发送同步请求/响应 - Azure Relay Hybrid Connections - how to send synchronous request/response 如何使用C#设置Azure中继混合连接以连接到本地SQL Server? - How to setup azure relay hybrid connections using C# to connect to on-premises SQL Server? 如何通过天蓝色中继C#发送prem wcf https服务的基本身份验证凭据? - How do I send basic authentication credentials for a prem wcf https service over azure relay C#? 如何在Azure WCF中继中处理双工WCF - How to handle duplex wcf in azure wcf relay 我可以使用WCF双工绑定来中继消息吗? - Can I use WCF duplex binding to relay message? 如何将实体框架和LocalDB连接迁移到Azure SQL? - How do I migrate Entity Framework and LocalDB connections to Azure SQL? 如何断开与 Azure SQL 托管实例的打开连接? - How do I disconnect open connections to an Azure SQL Managed Instance? 如何使用WcfClientBase帮助程序类进行WCF连接? - How to use the WcfClientBase helper class for WCF connections? 什么会导致天蓝色wcf中继中的AmqpException? - What would cause AmqpException in azure wcf relay? 如何在WCF中使用静态对象? - How do I use Static Objects in WCF?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM