Primitively is a powerful C# source generator that transforms primitive identifiers and value objects into highly performant, customisable, read-only struct values that support ASP.NET model binding and validation (including FluentValidation), Open API standards, JSON and MongoDB BSON serialization, with zero or minimal configuration.
mongodbcsharpdotnetaspnetcoreswaggerprimitivestype-safeprimitiveasp-net-coreopen-apibsonvalue-objectaspnet-mvcfluentvalidationobsessionsource-code-generatorprimitive-obsessionstrongly-typed-id
-
Updated
Feb 10, 2026 - C#