Azure / azure-relay-dotnet

☁️ .NET Standard client library for Azure Relay Hybrid Connections

Home Page:https://docs.microsoft.com/en-us/azure/service-bus-relay/relay-what-is-it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Looking for HCM (Hybrid Connection Manager) Source

masters3d opened this issue · comments

Since BizTalk was discontinued last year. Is there a way to get the source code for HCM Hybrid Connection Manager? There is so much documentation around HCM but now that no new connections can be made using it, it would be nice to be able to deploy HCM using code. Is there some sample code for the manin HCM feature?

Related:
MicrosoftDocs/azure-docs#26653

This is effectively the V2 of BizTalk Hybrid Connection Manager:
https://docs.microsoft.com/en-us/azure/app-service/app-service-hybrid-connections
I believe that version is built on .NET Core and supports multiple operating systems.

If you're looking for something where both sender and listener are on-premises (but connected through the cloud) here are some SDK samples, however, these do not include any kind of management UI similar to HybridConnectionManager:
https://github.com/Azure/azure-relay/tree/master/samples/hybrid-connections/dotnet/portbridge
https://github.com/Azure/azure-relay/tree/master/samples/hybrid-connections/dotnet/hcreverseproxy
https://github.com/Azure/azure-relay/tree/master/samples/hybrid-connections/dotnet/aspnet

Can you elaborate on which capability BizTalk HCM allowed that App Service Hybrid Connections does not?

Can you elaborate on which capability BizTalk HCM allowed that App Service Hybrid Connections does not?

From my understanding BizTalk allowed configuring a port on the actual relay connection that could then be tunneled then all that was needed on HCM was to provide that connection string and magic. The portbridge is what I want but I need to set up the client to be an Azure Function or similar to replicate the same configuration. Thanks for the prompt response. Very helpful.

I think Azure Functions also support this "V2" Hybrid Connection Manager (at least they did not very long ago):
https://blogs.msdn.microsoft.com/benjaminperkins/2018/05/16/how-to-azure-function-app-with-hybrid-connection/