Is it wrong to use HttpClientFactory in a singleton service?
I read this article about HttpClientFactory. But i couldn’t find a answer for my question. Is it bad approach to use HttpClientFactory in a singleton service to send request to somewhere?
Is it wrong to use HttpClientFactory in a singleton service?
I read this article about HttpClientFactory. But i couldn’t find a answer for my question. Is it bad approach to use HttpClientFactory in a singleton service to send request to somewhere?
.NET 8 dependency injection best practices
I am upgrading to .NET 8 and wondering on the Dependency Injection best practices. Do people manually register all dependencies, for example
.NET 8 Dependency Injection automatic registration
If I am configuring my dependency injection I will have code like this
How can I unregister AddHttpClient();
I am doing end-to-end testing and need to have my test host app unregister the following