ASP.NET Core posts

Shared RESX file for data annotation localization in ASP.NET Core 2.0

Posted on: 20-03-2018

Shows a solution for sharing data annotation property name translations and error messages in a single RESX file.

ASP.NET Core + Azure Key Vault + Azure AD MSI = Awesome way to do config

Posted on: 06-03-2018

Looks at an example for storing sensitive configuration in Azure Key Vault, and connecting it to the ASP.NET Core configuration pipeline.

Exploring ActionResult<T> in ASP.NET Core 2.1

Posted on: 18-02-2018

Checking out the new ActionResult<T> class coming in ASP.NET Core 2.1.

Creating an authentication scheme in ASP.NET Core 2.0

Posted on: 02-02-2018

How to make authentication handlers in ASP.NET Core 2.0, and walks through a naive implementation for HTTP Basic authentication.

Using Azure AD On-Behalf-Of flow in an ASP.NET Core 2.0 API

Posted on: 06-01-2018

How to call another Azure AD protected API from an API as the user calling it.

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.

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.

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.

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

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