Latest Posts On Code Maze

How to Filter a List Based on Another List In C#

How to Filter a List Based on Another List In C#

Lists in C# are one of the most ubiquitous data structures. We perform all kinds of operations on them, such as appending, inserting, removing, sorting, and filtering. In this article, we'll focus on the latter - filtering. In particular, we'll see how to use a list...

View-Based Authorization in ASP.NET Core

View-Based Authorization in ASP.NET Core

View-based authorization is an authorization strategy that enables us to manage UI elements' visibility based on the user's identity. In this article, we'll take a look at how we can achieve view-based authorization in an ASP.NET core application. An age-old question - which one is...