Hello, I'm writing from turkey like you, anyway, I'm getting "Unable to resolve service for type 'System.Net.Http.IHttpClientFactory' while attempting to activate" error. After integrating site key, models, controller, I got this error :( Please help
Hi. What is your dotnet core version in project? And Did you add (register) HttpClient as middleware service in Startup.cs? I think this error occur HttpClient service difference between your code and dotnet version.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello, I'm writing from turkey like you, anyway, I'm getting "Unable to resolve service for type 'System.Net.Http.IHttpClientFactory' while attempting to activate" error. After integrating site key, models, controller, I got this error :( Please help
Hi. What is your dotnet core version in project? And Did you add (register) HttpClient as middleware service in Startup.cs? I think this error occur HttpClient service difference between your code and dotnet version.