You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only configure IFilterFactory.IsReusable to return true if the source of the filters is unambiguous, the filters are stateless, and the filters are safe to use across multiple HTTP requests. For instance, don't return filters from DI that are registered as scoped or transient if IFilterFactory.IsReusable returns true
Hi, according to https://learn.microsoft.com/en-us/aspnet/core/mvc/controllers/filters
Checking your code at RecaptchaServiceCollection.cs
RecaptchaService
its added as Transient, then at ValidateRecaptchaAttribute.cs you code property asIsReusable => true
The text was updated successfully, but these errors were encountered: