What's difference between these two events, and what're the suggestions to use of each?
Where I need to implement my custom logic of authentication with going to another internal service?
The PreAuthentication event is raised when authentication is about to start for a specific user account, but before any credentials have been transmitted. Its main purpose is to make it possible to specify which authentication methods to allow for the particular user attempting authentication. For other purposes, use Authentication event.
For additional information, check out information on Advanced authentication providers.
Welcome to Q&A forum for C# and VB.NET developers working with following .NET components:
If you need immediate assistance, please contact us directly.