How can I get/build a log of login attemps in an ASP.NET site?
Is there a hook I can use in the Form Authentication configuration to get this automatically (as opposed to saving manually some record in a database?)
How can I get/build a log of login attemps in an ASP.NET site?
Is there a hook I can use in the Form Authentication configuration to get this automatically (as opposed to saving manually some record in a database?)
In the websites I work on, this gets saved as part of the login code. If there is a "business logic layer" it goes there, else it goes in the data layer.
You can use ASP.NET Health Monitoring, you can subscribe to WebAuthenticationSuccessAuditEvent and WebAuthenticationFailureAuditEvent.
If you need more help, let me know.