Recent posts

Explore the recent blog posts

How To Create Custom Middlewares in ASP.NET Core
asp-net-core

How To Create Custom Middlewares in ASP.NET Core

ASP.NET Core's middleware architecture offers a powerful way to build and configure the HTTP request pipeline in your applications. This guide provides a step-by-step approach, complete with code examples, to get you up and running with your own middlewares.

Global Query Filters in EF Core
ef-core

Global Query Filters in EF Core

Explore the concept of global query filters in EF Core and how they can be effectively used to manage data access patterns, especially in multi-tenant applications or scenarios requiring soft delete functionality.

C# Init Only and Required Properties
csharp

C# Init Only and Required Properties

C# 9.0 introduced init only properties. The init only property can be assigned only during object creation and can't be changed further. This enforces immutability. Required properties were introduced in C# 11 which is a great addition to init only properties. Required ensures that init only properties are assigned during objection creation, as these properties can't be change further

Getting Started with Middlewares in ASP.NET Core
asp-net-core

Getting Started with Middlewares in ASP.NET Core

ASP.NET Core's middleware architecture offers a powerful way to build and configure the HTTP request pipeline in your applications. Understanding how to effectively use middleware is crucial for any ASP.NET Core developer. In this post, we'll explore what middleware is, the correct order of middlewares, and discuss some of the most widely used middlewares.

Get Started with SQL Transactions in PostgreSQL
databases

Get Started with SQL Transactions in PostgreSQL

SQL transactions are foundational for ensuring data integrity and consistency in database operations. They allow multiple SQL commands to be executed as a single, atomic operation, meaning either all commands are successfully executed, or none are, ensuring the database remains in a consistent state. This blog post introduces the concept of SQL transactions, with a focus on their implementation in PostgreSQL, using a practical database model as an example.

Getting Started with C# Records
csharp

Getting Started with C# Records

C# 9.0 introduced a new feature called records, they offer immutability and equality comparison out of the box. Learn how to use records, what features they offer and reveal the use cases when records can be used instead of classes

Getting Started With Database Views in SQL
databases

Getting Started With Database Views in SQL

Database views in SQL are a great tool that enhances security, simplifies complex and repeteable SQL queries. This blog post dives into the concept of database views, their benefits, and practical examples to illustrate their utility in real-world applications.

Improve Your .NET and Architecture Skills

Join my community of 1800+ developers and architects.

Each week you will get 2 practical tips with best practises and architecture advice.