Exploring Data Mapping Options in EF CORE
EF Core allows to customize a model mapping using fluent API, data annotations, seperate configuration classes and attributes. Learn more about all these options in this blog post full with code examples
Explore the newsletters
EF Core allows to customize a model mapping using fluent API, data annotations, seperate configuration classes and attributes. Learn more about all these options in this blog post full with code examples
Understanding transaction isolation levels in SQL is crucial for maintaining data integrity and performance in databases. This blog post explores the various isolation levels, their impact on data consistency and system performance, and how to implement them with code examples.
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.
Primary constructors introduced in .NET and C# 12, offer a much more concise way to assign class properties. This blog post will explain all the aspects of primary constructors, their nuances and difference when in classes and records.
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# 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
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.
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.
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
Join my community of 25,000+ developers and architects.
Each week you will get 1 practical tip with best practices and real-world examples.
Learn how to craft better software with source code available for my newsletter.