From the .NET blog...
Use C# unions and closed hierarchies in ASP.NET Core
https://devblogs.microsoft.com/dotnet/unions-and-closed-hierarchies-in-aspnetcore/ #dotnet #ASPNETCore #csharp #NET11 #Blazor #Closedhierarchies #MinimalAPI #MVC #openapi #Polymorphism #SignalR #systemtextjson #uniontypes
