Articles Filter By Project

Count = 44

ASP.NET Core 3.1 - Admin Role
Created 02/01/20, Updated 02/24/21 00:16 GMT
Demonstrates the implementation of an admin role to manage users. The fifth article of a series for Uses Without Identity.
ASP.NET Core 3.1 - Cookie Validator
Created 02/02/20, Updated 02/24/21 00:15 GMT
Demonstrates the implementation of verifying the authentication cookie on every request. The sixth article of a series for Uses Without Identity.
ASP.NET Core 3.1 - 2FA Without Identity
Created 08/20/20, Updated 02/24/21 00:02 GMT
Introduces a series about implementing two-factor authentication without ASP.NET Core Identity. The first article of a series for 2FA Without Identity.
ASP.NET Core 3.1 - 2FA User Tokens
Created 08/20/20, Updated 02/24/21 00:02 GMT
Describes the implementation of a TwoFactorEnabled property for the user and a related AppUserToken entity. The second article of a series for 2FA Without Identity.
ASP.NET Core 3.1 - 2FA Cookie Schemes
Created 08/20/20, Updated 02/24/21 00:01 GMT
Demonstrates the implementation of multiple cookie schemes like ASP.NET Core Identity. The third article of a series for 2FA Without Identity.
ASP.NET Core 3.1 - 2FA Authenticating
Created 08/20/20, Updated 02/24/21 00:01 GMT
Describes the implementation of functions to generate 2FA keys and verify the code provided by the authenticator app. The forth article of a series for 2FA Without Identity.
ASP.NET Core 3.1 - 2FA Sign In Service
Created 08/26/20, Updated 02/24/21 00:00 GMT
Describes the implementation of a class for functions PasswordSignInAsync, SignOut, RefreshSignIn, and functions which remember and forget the current 2FA browser. The fifth article of a series for 2FA Without Identity.
ASP.NET Core 3.1 - 2FA QR Code Generator
Created 08/26/20, Updated 02/23/21 23:59 GMT
Demonstrates the implementation of qrcode.js to display the 2FA authenticator key in a QR Code formatted image. The sixth article of a series for 2FA Without Identity.
ASP.NET Core 3.1 - Admin 2FA Requirement
Created 08/26/20, Updated 02/23/21 23:58 GMT
Describes how to implement a policy and a custom 2FA enabled claim to deny access to admin pages for administrators who have not enabled 2FA. The seventh article of a series for 2FA Without Identity.
ASP.NET Core 3.1 - 2FA Admin Override
Created 08/31/20, Updated 02/23/21 23:58 GMT
Describes the implementation of administrator override of a user's enabled 2FA. The eighth article of a series for 2FA Without Identity.

I write about the difficulties and methods I have found while developing this site with ASP.NET Core 2.2, upgrading to ASP.NET Core 3.1 then to ASP.NET Core 5.0 and ASP.NET Core 6.0 using EntityFramework Core. None of the authors, contributors, or anyone else connected with KenHaggerty.Com, in any way whatsoever, can be responsible for your use of the information contained in or linked from these articles.

All articles have created and last updated dates. I will do my best to update any article which I learn to be inaccurate. The research comes from articles and posts on sites like stackoverflow, docs.microsoft.com and GitHub. I hardly ever find my solution from one article or post. I give references in the article to the most pertinent sources. There is a comments feature to allow open discussion. If you have concerns and do not want to register, please send me an email.