25.05.2022 |
- 10:30 Uhr
- Pawel Gerr
Webinar: Roslyn Source Generators in .NET 6
In diesem Webinar lernen Sie, wie Sie einen Incremental Roslyn Source Generator implementieren, welcher mit .NET 6 verfügbar wurde.
Zuerst sehen wir uns einen Roslyn Source Generator in Aktion an und werden anschließend gemeinsam einen implementieren.
Das Webinar richtet sich an alle im .NET-Umfeld, die nach einer Möglichkeit suchen, den "boilerplate code" zu reduzieren. Kenntnisse mit anderen Code Generatoren und Reflection sind von Vorteil, aber keine Voraussetzung.
Mehr Beiträge zu .NET Core
Pawel Gerr ist Architekt und Consultant bei Thinktecture. Er hat sich auf .NET Core Backends spezialisiert und kennt Entity Framework von vorne bis hinten.
Moderation
Marco Frodl
Marco Frodl ist Consultant bei der Thinktecture AG und versteht sich als ein IT-Dolmetscher zwischen Developern und Anwendern.
Agenda
- Roslyn Source Generator in Aktion
- Implementierung
- Q&A
Material & Video zu "Roslyn Source Generators in .NET 6"
Sie wünschen sich Unterstützung durch unsere Experten in Ihrem Projekt?
Slidedeck zu "Roslyn Source Generators in .NET 6"
Kommende Webinare: jetzt kostenlos anmelden
No results found.
Aktuelle Webinar-Aufzeichnungen
Christian Liebel | 14.05.2025 | 10:30 Uhr
Daniel Sogl | 30.04.2025 | 10:30 Uhr
Weitere Artikel zu .NET Core
.NET

Discriminated Unions in .NET: Integration with Frameworks and Libraries
A key aspect of adopting any new pattern is understanding how it interacts with the surrounding application infrastructure. When using Discriminated Unions, questions arise: How can a Result union be serialized to JSON? How can an OrderState union be persisted using Entity Framework Core? This article explores practical integration strategies with common .NET frameworks.
02.11.2025
.NET

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

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

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

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

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