Implementing OWIN Authentication and roles for AppService in ASP.NET Framework
dev.to·18h·
Discuss: DEV

This article purpose is to describe how to secure our ASP.NET Framework application following a layer structure using OWIN as a middleware and Microsoft Entra ID. This comprehensive guide walks you through the creation of an App that will be published to Azure App Service.

Requirements

  • Visual Studio 2022
  • Azure Subscription

Walkthrough

Creating the App Service

Within our Azure subscription, we will create an App Service of type Web App. In the template, we will fill in basic data:

  • Select our Azure subscription
  • Create a resource group if one doesn’t already exist
  • Give our application a name
  • We will publish the code directly from Visual Studio 2022
  • Our Runtime will be ASP.NET V4.8
  • Choose the Region and plan that best suits our needs
  • For this example, we…

Similar Posts

Loading similar posts...