Packages | Version & Downloads |
---|---|
AspNetCore.ApiGateway.Client |
The .Net client application can talk to the Api Gateway using the Client.
Wire up the Client for dependency injection in your app, using an extension.
services.AddApiGatewayClient(settings => settings.ApiGatewayBaseUrl = "http://localhost");
Then, you can inject IApiGatewayClient in your app.
You can go through these Integration Tests to see how the Client is used.