What is your preferred way of creating application specific files for a local application?

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Wivuu.JsonPolymorphism

    Adds System.Text.Json serializer support for polymorphism with a discriminator attribute

  • There is a System.Text.Json compatible library https://github.com/wivuu/Wivuu.JsonPolymorphism that could do this. Does that work for you?

  • Protobuf.NET

    Protocol Buffers library for idiomatic .NET

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • JsonSubTypes

    Discriminated Json Subtypes Converter implementation for .NET

  • Personally I've had good success with JsonSubTypes for deserializing discriminated unions from JSON. It'll serialize stuff into the right type, and then you just need a switch statement to typecast it afterwards.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts