How to Compare Two Files in C#
In this article, we will learn how to compare two files in C#. There are several reasons why we might want to compare two files in our code, such as integrity checks, detecting duplicate files, version control, synchronization, and more. But what are the different...
How to Set Global Default JSON Serialization Options in .NET
JSON serialization is the process of transforming .NET objects into JSON format, which ensures data exchange within applications. Implementing global default JSON serialization settings in ASP.NET Core Web API maintains uniformity across applications. In this article,...
Real-Time .NET Error Reporting With Exceptionless
In this article, we are going to cover the Exceptionless library and see how to use it in an ASP.NET Core application. So let's get started. What Is...
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 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...