ASP.NET Core posts

Apply Authorization by default in ASP.NET Core

Posted on:

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:

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:

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:

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:

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:

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

ASP.NET Core 2.0 Configuration Changes

Posted on:

See what has changed in the area of configuration in ASP.NET Core 2.0. We will check typical configuration with the default WebHostBuilder, and how configuration is passed to Startup.

ASP.NET Core 2.0 Azure AD Authentication

Posted on:

Shows you how to enable Azure AD authentication in app using ASP.NET Core 2.0.

ASP.NET Core Dependency Injection Deep Dive

Posted on:

Explores dependency injection in ASP.NET Core and MVC Core. We look through the various ways in which dependencies can be injected in various places.

Content Security Policy (CSP) in ASP.NET Core

Posted on:

Control from where resources are allowed to load on your ASP.NET Core site

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

Azure MVP, Azure Solutions Architect Expert, Azure Security Engineer Associate, Azure Developer Associate.