I'm new in the Azure Relay use and configuration.
I've developed an API that responds with the Relay mechanism ... now my need is to leave the service bus listeners configured by default in Program (or even in startup) like this:
webBuilder.UseAzureRelay(options =>
{
options.UrlPrefixes.Add(Configuration.GetSection("AzureRelay")
.GetValue<string>("SB_HC_CONNECTIONSTRING"));
})
Now I need to add other local addresses so that the API can respond via requests from the on-prem environment in which it is released (like a front-end application).
I've searched in documentations, but unfortunately, there's no evidence of how to gain this behavior, and there is no example of how to use the Relay like a middleware.
Have you any ideas or examples to achieve this?