question

sriramravi-2874 avatar image
0 Votes"
sriramravi-2874 asked Bruce-SqlWork answered

Request help on connecting webapi from azure relay

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://docs.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.

dotnet-aspnet-webapi
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Bruce-SqlWork avatar image
0 Votes"
Bruce-SqlWork answered

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

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.