Use C# unions and closed hierarchies in ASP.NET Core

a month ago by Nemeski to c/dotnet

Learn how C# unions and closed hierarchies work with System.Text.Json across ASP.NET Core Minimal APIs, MVC, SignalR, Blazor, and OpenAPI.
vermaterc 3 points a month ago

Excellent article. Not only shown how to use it, but also what are alternatives and why use unions instead of them.

path: 0 25772136, hotness: undefined, score: 3, children: 0
dotnet
dotnet

@programming.dev

login for more options
1884
591
13

Getting started

Useful resources

IDEs and code editors

Tools

Rules

  • Rule 1: Follow Lemmy rules
  • Rule 2: Be excellent to each other, no hostility towards users for any reason
  • Rule 3: No spam of tools/companies/advertisements
  • Rule 4: Submit the original source. If a post reports on something found on another site, submit the latter

Related communities

Wikipedia pages

go to feed...