ASP.NET Core web app signing-in users to your Azure AD B2C tenant. - TRH
This sample shows how to build a .NET Core MVC Web app that uses OpenID Connect to sign in users in an Azure AD B2C tenant. It leverages the ASP.NET Core OpenID Connect middleware.