- [X] Read the following guideline: https://docs.squidex.io/01-getting-started/installation/troubleshooting-and-support. I understand that my support request might get deleted if I do not follow the guideline.
I’m submitting a…
- [ ] Regression (a behavior that stopped working in a new release)
- [ ] Bug report
- [ ] Performance issue
- [ X] Documentation issue or request
In Squidex.ClientLibrary.SquidexOptions you provide the option to override IHttpClientFactory, which is a custom interface [Squidex.ClientLibrary.Configuration]
In ASP.NET Core there is an interface IHttpClient which uses the factory pattern to manage httpclients
see https://learn.microsoft.com/en-us/aspnet/core/fundamentals/http-requests?view=aspnetcore-6.0 and https://learn.microsoft.com/en-us/dotnet/architecture/microservices/implement-resilient-applications/implement-http-call-retries-exponential-backoff-polly
It also adds support for typed client to the di container like serviceClient.AddHttpClient()
Due to the client factory we get goodies like logging, retry, backoff etc.
My question for you is wether we can use the Microsoft variant of the interface, or if you have a working version of your interface that loops it to the microsoft one.