Request help on connecting webapi from azure relay

Ravi, Sriram 1 Reputation point
2021-07-21T16:59:52.843+00:00

Hi Team,

We need some help on the below enhancement.

We have an existing asp.net webapi hosted in iis. We are using mysql as a backend.

We need to use azure relay-mostly hybrid connection, to call the webapi.

Note:

we don't want solution with WCF, we are not using wcf here.

In msdn, we got exhausted in trying the below:

https://learn.microsoft.com/en-us/azure/azure-relay/relay-hybrid-connections-dotnet-get-started

IN our case, we are not much interested in server listener and client(in the above code there are 2 sets of aplication).

We like to know on how to connect existing webapi application through azure relay(or hybrid)..

we are not using .net core here.

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
335 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 65,211 Reputation points
    2021-07-22T14:48:58.767+00:00

    You probable want an hybrid app connection instead. You install a proxy service on prem rather than modifying the webapi code.

    https://learn.microsoft.com/en-us/azure/app-service/app-service-hybrid-connections

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.