This below show us if we need to login or not Register | LogIn

Custom Authorize Attribute

Here I demonstrate the use of ASP.NET Authorize and Exception Handling Attributes - You need 
to see the code in my Controller to understand what's going on - but it's working just fine! :)
n ASP.NET WEB API you can extend "AuthorizeAttribute" to implement custom authorization filter to control the access to the application. I have overridden the "OnAuthorization" method to check custom authorization rules. In this implementation, I am assuming that user will send and receive the data through "HTTP headers".

Copyright © 2026. Itai Roded thanks for looking. Itai.Roded@gmail.com.