Posts by Spyros

@Spyros

Spyros Ponaris

Passionate about building robust and scalable software solutions with a focus on...
Athens Greece web-partner.gr Joined January 2025
9.2k Points223 Badges120 Connections262 Followers122 Following

Posts by Spyros

Spyros in Articles 3 min read
Many experienced developers are familiar with database transactions but often overlook the key differences between optimistic and pessimistic concurrency control in Entity Framework Core EF Core. Understanding both approaches and how EF Core handle...
Spyros in Articles 3 min read
Entity Framework Core 7 introduced two powerful methods for bulk operations: ExecuteUpdateAsync and ExecuteDeleteAsync. These methods are designed for high-performance scenarios where you need to update or delete multiple records efficiently with...
Spyros in Articles 3 min read
Learn how to hook into EF Core operations using interceptors, leverage the Decorator Pattern for clean cross-cutting concerns, and see real-world examples like SQL logging and auditing. Table of Contents A Brief History of EF Core Interceptors Wha...
Spyros in Articles 3 min read
Introduction The Observer Pattern is a behavioral design pattern that allows an object the subject to notify multiple other objects observers about state changes. It is commonly used in event-driven programming, messaging systems, and real-time noti...
Spyros in Articles 3 min read
When working with Entity Framework Core EF Core, there are different strategies for loading related data from the database. So, how do you load a collection or other related objects? Here are the main options: 1️⃣ Eager Loading Include Loads rela...
Spyros in Articles 2 min read
Entity Framework Core EF Core Global Query Filters allow you to apply filters to queries at the model level so that they automatically apply to all queries involving a specific entity. This is particularly useful for scenarios like soft deletes, mu...
Spyros in Articles 2 min read
When working with Entity Framework Core EF Core, queries that involve multiple Include statements can result in a single large query with multiple joins. This can cause performance issues due to data duplication and increased memory usage. What is A...
Spyros in Articles 2 min read
Equality is a crucial concept in C#, and handling it efficiently can improve performance and correctness in applications. In this article, we'll focus on IEquatable, why it is preferable over Equals and ==, and how records in C# inherently support va...
post-cover-1092
Spyros in Articles 3 min read
Understanding the State Pattern with Calculator Introduction The State Pattern allows an object to change its behavior dynamically based on its internal state. It’s a powerful design pattern for handling complex, state-dependent behavior in an or...
chevron_left

Latest Jobs

View all jobs →