Hello Dapr community!
We are trying to use Dapr to manage our microservices deployed as Azure Container Apps. On Azure , everything works fine, but we are wondering what is the preffered way to achieve local testing of a new service that will be calling all other services (ideally via Service Invocation), deployed in different Dapr environment, on Azure Cloud (Container App)?
What I have already tried (unsucessfully):
- I tried to create Dapr client connected to remote endpoint "DaprClientBuilder().UseHttpEndpoint(AzureContainerAppEndoint:3500)"
- I tried to create routing component middleware, but If I understand it correctly, the component works just in one way (non-dapr URL -> DAPR url) and I would need the exact opposite.
Right now, the only solution that comes to my mind is to override the DaprClient in C# and use normal HTTPClient and normal URLS when in local development enviroment. But this means writing custom C# code for local development...
Any suggestions would be greatly appreciated!
Thak you! 🙂