Workshop 8h | 
BASTA! Herbst 2024
 | 20.09.2024

Async Workshop: Klarheit in der Asynchronität – async await Internals und Expertenwissen für skalierbare .NET Apps

async await ist seit Jahren fester Bestandteil in Microsofts .NET Ökosystem, doch mitunter können sich subtile Bugs und Performanceprobleme in unsere Codebasen einschleichen durch den falschen Einsatz von async und await. Doch damit ist jetzt Schluss! In diesem Ganztags-Workshop starten wir bei den Grundlagen und blicken hinter die Fassade: welche Auswirkungen hat async await auf den .NET Thread Pool und die Skalierbarkeit meiner ASP.NET Core App? Welche Data Access Bibliotheken unterstützen async await, welche nicht – und wie kann ich dies ermitteln? Wie genau sieht die State Machine aus, welche der C# Compiler im Hintergrund aus unseren async Methoden generiert, und wie verhält sich diese zur Laufzeit? Wie unterscheiden sich async I/O und async compute? In welchen Szenarien ergibt sync-over-async Sinn? All das paaren wir mit jede Menge Hands-On Beispielen, in denen wir Code umbauen unter der richtigen Verwendung von async await, sowie auch mit Negativbeispielen, die wir in unseren Codebasen vermeiden sollten. Dieser Workshop vermittelt Ihnen das Expertenwissen, dass Sie benötigen, um asynchronen Code in Ihren .NET Projekten effektiv gestalten zu können.

Kenny Pflug ist Consultant bei Thinktecture und spezialisiert auf Architektur und Design von verteilten Systemen mit ASP.NET Core.

Event

BASTA! Herbst 2024
16.09.24  
- 20.09.24 
@ Mainz
 (DE)
BASTA! Herbst 2024 Logo

Slidedeck

https://github.com/thinktecture-labs/basta-fall-2024-async-await-workshop/blob/main/BASTA!%20Fall%202024%20-%20Klarheit%20in%20der%20Asynchronit%C3%A4t%20-%20async%20await%20Internals%20und%20Expertenwissen%20f%C3%BCr%20skalierbare%20.NET%20Apps.pdf

Weitere Artikel zu aktuellen Schwerpunkten

.NET
pg

Advanced Value Object Patterns in .NET

While basic value objects solve primitive obsession, complex domain requirements need sophisticated modeling techniques. This article explores advanced patterns using Thinktecture.Runtime.Extensions to tackle real-world scenarios: open-ended dates for employment contracts, composite file identifiers across storage systems, recurring anniversaries without year components, and geographical jurisdictions using discriminated unions.
19.10.2025
.NET
pg

Discriminated Unions in .NET: Modeling States and Variants

Domain models often involve concepts that exist in multiple distinct states or variations. Traditional approaches using enums and nullable properties can lead to invalid states and scattered logic. This article explores how discriminated unions provide a structured, type-safe way to model domain variants in .NET, aligning perfectly with Domain-Driven Design principles while enforcing invariants at the type level.
06.10.2025
.NET
pg

Smart Enums in .NET: Integration with Frameworks and Libraries

Learn how to seamlessly integrate Smart Enums with essential .NET frameworks and libraries. This article covers practical solutions for JSON serialization, ASP.NET Core model binding for both Minimal APIs and MVC controllers, and Entity Framework Core persistence using value converters. Discover how Thinktecture.Runtime.Extensions provides dedicated packages to eliminate integration friction and maintain type safety across your application stack.
21.09.2025
.NET
pg

Value Objects in .NET: Enhancing Business Semantics

Value objects are fundamental building blocks in Domain-Driven Design, serving far more than simple data wrappers. This article explores their strategic importance in bridging technical code and business concepts, enforcing domain rules, and fostering clearer communication with domain experts. Learn how to build robust aggregates, cultivate ubiquitous language, and encapsulate domain-specific behavior using Thinktecture.Runtime.Extensions in .NET applications.
16.09.2025
.NET
pg

Pattern Matching with Discriminated Unions in .NET

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: Integration with Frameworks and Libraries

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

Unsere Webinare

Unsere Artikel

Mehr über uns