Parallelism is an important concept in programming because it divides tasks and allocates those tasks to separate threads for processing. In .NET/C# for parallelism you can use the System.Threading and […]
Tuples in C#: Organize Data with Ease & Efficiency
Per definition, Tuples are a data structure that provides an easy way to represent a single set of data in C#. They were first introduced in .NET Framework 4.0 specifically […]
Building Your First Minimal API in .NET
Minimal API is a new feature introduced in ASP.NET Core 6.0 that simplifies the process of building HTTP APIs. It’s a lightweight, opinionated framework that allows developers to create APIs […]
Introduction to bUnit: Unit Testing Blazor Applications
Per definition, bUnit is a testing library for Blazor Components. Its goal is to make it easy to write comprehensive, stable unit tests. bUnit is a testing library for Blazor Components that allows […]
Query Filters in Entity Framework Core: Applying Global Filters to Queries
Query filters in Entity Framework Core provide a way to apply a global filter to all queries for a given entity. When a query filter is defined, it is automatically […]
Accelerate Your Builds with Visual Studio 2022 V17.5
In a recent Twitter thread, Drew Noakes from Microsoft announced some really great features that were added to Visual Studio 2022 – V 17.5. They are all great, but especially one […]
HTTP PUT vs HTTP PATCH in .NET Web API: Which Method to Use for Updating Resources?
HTTP methods are an essential part of the Hypertext Transfer Protocol (HTTP), which is the primary protocol used for communication between web servers and web clients. There are several HTTP […]
The Role of Dictionaries in C#: Efficient Key-Value Storage
Dictionaries in C# are a type of collection that allows you to store key-value pairs, where each key is associated with a value. Key-value pairs are commonly used to represent […]
Implementing API Rate Limiting in .NET Web APIs
Throttling is the process of limiting the rate at which requests are made to an API. In a .NET Core API, you can limit API calls by implementing throttling. There […]
The Power of Asynchronous Programming in C#
Asynchronous programming is a programming model that allows you to write code that can run concurrently without blocking the main thread. To better understand this definition, let’s talk about a […]