Using Redis Cache for session data storage in ASP.NET Core

Posted on: 11-12-2017

How to use Redis for storing session data in ASP.NET Core. Examples for using Azure Redis Cache with Azure Web Apps.

AADSTS90094: The grant requires admin permission, how to fix it and why it happens

Posted on: 09-12-2017

How to grant administrator consent for permissions in Azure AD, and some technical details on what exactly it is that Azure AD expected to find before showing this error.

Adding custom claims to a user during authentication with ASP.NET Core 2.0

Posted on: 05-12-2017

How to add custom claims such as roles to a user after they sign in. OpenID Connect and JWT Bearer token authentication used as examples.

Defining permission scopes and roles offered by an app in Azure AD

Posted on: 03-12-2017

How you can define delegated and app permissions offered by your API, as well as how to assign roles within an app to users.

Apply Authorization by default in ASP.NET Core

Posted on: 29-11-2017

How authentication can be required globally, as well as how to apply a different authorization policy on different parts of the app automatically.

Custom error pages in ASP.NET MVC Core

Posted on: 04-11-2017

How to add custom error pages that properly handle 404s and exceptions in production with ASP.NET MVC Core.

Discovering controller actions and Razor Pages in ASP.NET MVC Core

Posted on: 03-11-2017

Using IActionDescriptorCollectionProvider to find what controller actions and Razor Pages are available in an ASP.NET MVC Core application.

Azure AD Managed Service Identity

Posted on: 13-10-2017

Walkthrough on how to use the new Managed Service Identity service in Azure to easily authenticate against services with no credentials stored within the app.

Find out if a URL matches an action in ASP.NET MVC Core

Posted on: 02-10-2017

Sometimes you might need to find out if a given URL will match an action in your MVC Core app. Here we look at how to do that.

ASP.NET Core Localization Deep Dive

Posted on: 03-09-2017

Almost everything you need to know about localization in ASP.NET Core and MVC Core. Written for 2.0 RTM.

Hi! My name is Joonas Westlin, I'm a software developer who blogs about ASP.NET, Azure, and Web development.

MCT, MCSE: Cloud Platform and Infrastructure, MCSD: App Builder