Articles


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 and 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.

Count = 60

ASP.NET Core 3.1 - 2FA Admin Override
Created 08/31/2020, Updated 08/31/2020 06:30
Describes the implementation of administrator override of a user's enabled 2FA. The eighth article of a series for 2FA Without Identity.
ASP.NET Core 3.1 - Admin 2FA Requirement
Created 08/26/2020, Updated 08/31/2020 06:29
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 QR Code Generator
Created 08/26/2020, Updated 08/31/2020 06:29
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 - 2FA Sign In Service
Created 08/26/2020, Updated 08/31/2020 06:29
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 Authenticating
Created 08/20/2020, Updated 08/31/2020 06:28
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 Cookie Schemes
Created 08/20/2020, Updated 08/31/2020 06:28
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 User Tokens
Created 08/20/2020, Updated 08/31/2020 06:28
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 Without Identity
Created 08/20/2020, Updated 08/31/2020 06:28
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 - User Database Service
Created 04/24/2020, Updated 08/31/2020 06:23
Describes the implementation of a database service for managing users. The ninth article of a series for the Uses Without Identity Project.
ASP.NET Core 3.1 - Must Change Password
Created 02/02/2020, Updated 08/31/2020 06:22
Demonstrates the implementation of a must change password custom claim which uses middleware to redirect the user to a change password page. The eighth article of a series for Uses Without Identity.

These articles are a way of contributing to the open source communities which have brought about many advanced methods of software development. The rapid change of these technologies usually leaves the documentation outdated and sometimes non-existent. All articles will 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.