June 10, 2023

Cloud authentication with Azure Active Directory B2C in ASP.NET Core

Azure Active Directory B2C (Azure AD B2C) is a cloud identity management solution for web and mobile apps. The service provides authentication for apps hosted in the cloud and on-premises. Authentication types include individual accounts, social network accounts, and federated enterprise accounts. Additionally, Azure AD B2C can provide multi-factor authentication with minimal configuration.

Useful links: Programmatically manage Azure Active Directory (AAD)

How to programmatically create an Azure AD user – https://stackoverflow.com/questions/44756742/how-to-create-azure-ad-user-programmatically Implement Azure AD B2C – https://docs.microsoft.com/en-us/aspnet/core/security/authentication/azure-ad-b2c?view=aspnetcore-5.0 Microsoft Graph overview – https://docs.microsoft.com/en-us/graph/use-the-api A Web API that calls other Azure Web APIs …

How to use Bootstrap style validation in ASP.NET Core

This post is about using Bootstrap 4 style validation in ASP.NET Core. By default ASP.NET Core validation messages will be displayed in the bottom of the invalid control. And even if we are using bootstrap, the validation styles won’t be applied. In this post I will explain how to configure Bootstrap validation styles to ASP.NET Core.

Authentication and authorization in Azure App Service and Azure Functions

Azure App Service provides built-in authentication and authorization support (sometimes referred to as “Easy Auth”), so you can sign in users and access data by writing minimal or no code in your web app, RESTful API, and mobile back end, and also Azure Functions. This article describes how App Service helps simplify authentication and authorization for your app.