Quotidien Shaarli

Tous les liens d'un jour sur une page.

April 18, 2023

Programmatically evaluating policies in ASP.NET Core - Code Rethinked
thumbnail

To programmatically evaluate policies, we make use of IAuthorizationService, which when invoked produces whether the user is authorized or not

How to Create a Custom Authorize Attribute in ASP.NET Core
thumbnail

Let’s implement a custom authorization attribute using both IAuthorizationFilter and policy-based authorization.

Aggregate Design in .NET - Code Maze
thumbnail

We will learn what is an aggregate in Domain-Driven Design and which are the main design principles behind it.

Resource-Based Authorization in ASP.NET Core - Code Maze
thumbnail

In this article, we discuss use cases and methods to achieve resource-based authorization of requests in ASP.NET Core.