Expressing your domain in C# 15 with classes, records and unons
Thu 25 Feb 2027 UnitedConsumers, Eindhoven
Just a few years ago, every model was a class. Then C# 9 introduced records, and modeling capabilities became both more complex and more powerful.
C# 15 is right around the corner, and it introduces unions and closed hierarchies, adding to the complexity of modeling in C#.
Good domain models make invalid states difficult to represent and important business concepts impossible to misunderstand. But translating those ideas into C# has always involved compromises. C# 15 changes the design space. This is impactful for all developers, both human and agentic.
In this session, we'll approach modern C# from a Domain-Driven Design perspective and explore a deceptively difficult question: when I discover a concept in my domain, should it be a class, a record, or a union? And how do inheritance, interfaces, and closed hierarchies influence my decisions?
We'll start with familiar DDD building blocks (Entities, Value Objects, Aggregates, Domain Events, and Domain Services) and see how different C# type shapes can communicate their intent.
Then we'll explore how C# 15's new union types and closed hierarchies, together with records, pattern matching, and existing object-oriented features, allow us to model domain concepts more precisely.
By the end of the session, you'll be keener than ever to start modeling with C# 15, and you may even have learned a thing or two about Domain-Driven Design.
Schedule
- 17:30 - 18:30 Walk-in & Dinner
- 18:30 - 19:15 Part I
- 19:15 - 19:30 Break
- 19:30 - 20:15 Part II
- 20:15 - 21:00 Drinks and socializing
Capacity
- Maximum:
- 60
Sign up
You can sign up or cancel for this free Event until Monday 22 Feb 2027 15:00.
Speaker
Jelle Fremery
Betabit
Principal AI & Cloud Architect at Betabit
Before finding his true calling, Jelle studied developmental psychology and worked as a behavourial and linguistical scientist. He made a career shift and started anew in the field of software development. This semi-unorthodox career start has given him a unique handicap slash superpower.
For the last ten years, Jelle has worked as a consultant at many different customers, in many different roles: full-stack developer, scrum master, cloud engineer, tester, and architect. This has given him a broad perspective on software. His biggest software passions are cloud, quality, AI, and DevOps/Agile.
Jelle currently lives in Amersfoort with his wife and two young children. He plays the drums, likes reading and the theater, and really wishes he'd make more time for mountain biking.
UnitedConsumers, Eindhoven
Luchthavenweg 20
5657 EB Eindhoven
Transport
There are free parking lots at United Consumers in front of the building. Be aware: other parking lots in the neighborhood are paid.