Hello, I am Pawel Gerr

As a software architect at Thinktecture AG, I focus on distributed application architectures using .NET (Core) and Entity Framework (Core) as well as web applications based on ASP.NET Core and Blazor WebAssembly.

In my daily business, I support our customers during the design, implementation, and performance optimization of modern software solutions.

Blog-Posts by Pawel

The latest insights straight from our Research Lab.

No data found

Articles written by Pawel

.NET
pg
Traditional C# pattern matching with switch statements and if/else chains is error-prone and doesn't guarantee exhaustive handling of all cases. When you add new types or states, it's easy to miss updating conditional logic, leading to runtime bugs. The library Thinktecture.Runtime.Extensions solves this with built-in Switch and Map methods for discriminated unions that enforce compile-time exhaustiveness checking.
26.08.2025
.NET
pg
Value Objects in .NET provide a structured way to improve consistency and maintainability in domain modeling. This article examines their integration with popular frameworks and libraries, highlighting best practices for seamless implementation. From working with Entity Framework to leveraging their advantages in ASP.NET, we explore how Value Objects can be effectively incorporated into various architectures. By understanding their role in framework integration, developers can optimize data handling and enhance code clarity without unnecessary complexity.
12.08.2025
.NET
pg
This article builds upon the introduction of Smart Enums by exploring their powerful capability to encapsulate behavior, a significant limitation of traditional C# enums. We delve into how Thinktecture.Runtime.Extensions enables embedding domain-specific logic directly within Smart Enum definitions. This co-location of data and behavior promotes more cohesive, object-oriented, and maintainable code, moving beyond scattered switch statements and extension methods. Discover techniques to make your enumerations truly "smart" by integrating behavior directly where it belongs.
29.07.2025
.NET
pg
Representing values that may take on multiple distinct types or states is a common challenge in C#. Traditional approaches—like tuples, generics, or exceptions—often lead to clumsy and error-prone code. Discriminated unions address these issues by enabling clear, type-safe modeling of “one-of” alternatives. This article examines pitfalls of conventional patterns and introduces discriminated unions with the Thinktecture.Runtime.Extensions library, demonstrating how they enhance code safety, prevent invalid states, and improve maintainability—unlocking powerful domain modeling in .NET with minimal boilerplate.
15.07.2025

Content Downloads by Pawel

We have summarized our knowledge in our specialist areas in Cheat Sheets, Whitepapers, and Ebooks for you.

Webinar Dates & Recordings by Pawel

No data found

Upcoming Contributions by Pawel

Find future conference dates here.

Keine Daten gefunden.

Past Contribtuions by Pawel

Find past conference dates here.

Entity Framework, Performance, .NET
Talk (Deutsch) | Pawel Gerr
.NET Developer Conference ’23  | 
27.11.2023   -  
01.12.2023 @  
Köln (
DE)
Entity Framework, .NET Core
Talk (Deutsch) | Pawel Gerr
IT-Tage 2019  | 
09.12.2019   -  
12.12.2019 @  
Frankfurt (
DE)
Entity Framework, .NET Core
Talk (Deutsch) | Pawel Gerr
.NET Developer Conference 2019  | 
25.11.2019   -  
29.11.2019 @  
(
DE)
ASP.NET Core, .NET Core, Architecture
Talk (Deutsch) | Pawel Gerr
HerbstCampus 2018  | 
04.09.2018   -  
06.09.2018 @  
Nürnberg (
DE)
ASP.NET Core, .NET Core, Architecture
Talk (Deutsch) | Pawel Gerr
.NET Day Franken 2018  | 
27.04.2018   -  
28.04.2018 @  
Nürnberg (
DE)

Acknowledgements & Publications