DEV Community


Discussion on: Usage of ReCAPTCHA v3 in Asp.Net Core MVC Project

berkslv profile image

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

huseyinsimsek profile image
Huseyin Simsek Author

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.

Forem Open with the Forem app