Just wondering if there is currently any way to support registration of Typed clients?
For example:
services.AddHttpClient<ICatalogService, CatalogService>();
Use IHttpClientFactory to implement resilient HTTP requests | Microsoft Docs
The implementation might look something like this:
builder.Services.Scan(scan => scan
.FromAssemblyOf<ICatalogService>()
.AddClasses()
.AsImplementedInterfaces()
.WithHttpClient());
Thanks! 🙂
Just wondering if there is currently any way to support registration of Typed clients?
For example:
Use IHttpClientFactory to implement resilient HTTP requests | Microsoft Docs
The implementation might look something like this:
Thanks! 🙂