Authentication, Dotnet, Dotnet Core, Api Key, Csharp.
IAuthorizationFilter available in Microsoft.AspNetCore.Mvc.Filters. It has only one method which we need to implement : void OnAuthorization(AuthorizationFilterContext context); In the present scenario, assuming we possess an API key stored in our application settings ( although I will never