DTOMaker.Models.MessagePack
0.57.2-dev
See the version list below for details.
dotnet add package DTOMaker.Models.MessagePack --version 0.57.2-dev
NuGet\Install-Package DTOMaker.Models.MessagePack -Version 0.57.2-dev
<PackageReference Include="DTOMaker.Models.MessagePack" Version="0.57.2-dev" />
<PackageVersion Include="DTOMaker.Models.MessagePack" Version="0.57.2-dev" />
<PackageReference Include="DTOMaker.Models.MessagePack" />
paket add DTOMaker.Models.MessagePack --version 0.57.2-dev
#r "nuget: DTOMaker.Models.MessagePack, 0.57.2-dev"
#:package DTOMaker.Models.MessagePack@0.57.2-dev
#addin nuget:?package=DTOMaker.Models.MessagePack&version=0.57.2-dev&prerelease
#tool nuget:?package=DTOMaker.Models.MessagePack&version=0.57.2-dev&prerelease
DTOMaker
Supports model-first development of DTOs (Data Transport Objects) and related POCOs (Plain Old C# Objects). Models are defined as C# interfaces with additional attributes.
Warning: This is pre-release software under active development. Breaking changes may occur.
This repo includes the following packages:
DTOMaker.Models
Attributes for defining simple data models as interfaces in C#.
DTOMaker.MessagePack
A source generator that creates MessagePack DTOs (Data Transport Objects). See https://github.com/MessagePack-CSharp/MessagePack-CSharp.
DTOMaker.Models.MessagePack
Additional attributes used by the DTOMaker.MessagePack source generator, to manage MessagePack entity and member keys.
DTOMaker.MemBlocks
Generates DTOs whose internal data is a single memory block (Memory<byte>). Property getters and setters decode and encode values directly to the block with explicit byte ordering (little-endian or big-endian).
DTOMaker.Models.MemBlocks
Additional attributes used by the DTOMaker.MemBlocks source generator, to manage entity and member memory layout.
DTOMaker.CSPoco
Generates basic POCOs (Plain Old C# Objects) that implement the model interfaces.
DTOMaker.Runtime
Common types used at runtime by DTOMaker generated entities.
Other Features
- Member value types: Boolean, S/Byte, U/Int16/32/64/128, Double, Single, Half, Char, Guid, Decimal
- String member types:
- Required or nullable strings for CSPoco and MessagePack
- Non-nullable UTF8-encoded fixed length strings for MemBlocks
- IFreezable support
- Templates as code, template processing
- [Obsolete] members
- Fixed length arrays of above value types.
- polymorphic types
- entity members
- IEquatable<T> support
In progress:
- variable-length binary members
- variable-length string members
- single block allocation (MemBlocks)
Coming soon:
- auto-embedded entity members (MemBlocks)
- reservation (hidden members)
- Json (NewtonSoft) generator
- Json (System.Text) generator
- Orleans generator
- ProtobufNet 3.0 generator
- NetStrux generator
- MemBlocks compact layout method
- Enum data types. Workaround - enums can be implemented with an underlying integer property and a cast.
- MemBlocks nullable types. Workaround - T? can be implemented with a pair of members (Boolean, T).
Coming later:
- C# records generator
- Google Protobuf .proto generation
- model.json generation
- command-line alternative
- generic patterns: lists, trees, unions, etc.
- variable length arrays
- logical value equality
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.71.8 | 167 | 10/3/2025 |
| 0.71.7 | 315 | 9/19/2025 |
| 0.71.6 | 337 | 9/17/2025 |
| 0.71.5 | 343 | 9/16/2025 |
| 0.71.4 | 286 | 9/15/2025 |
| 0.71.3 | 270 | 9/15/2025 |
| 0.71.1 | 277 | 9/15/2025 |
| 0.70.3 | 199 | 9/9/2025 |
| 0.70.2 | 209 | 9/2/2025 |
| 0.70.1-dev | 262 | 8/27/2025 |
| 0.69.10 | 176 | 8/17/2025 |
| 0.69.9 | 146 | 8/16/2025 |
| 0.69.8 | 206 | 8/13/2025 |
| 0.69.7-dev | 202 | 8/13/2025 |
| 0.69.6-dev | 202 | 8/12/2025 |
| 0.69.4-dev | 170 | 8/9/2025 |
| 0.69.3-dev | 136 | 7/19/2025 |
| 0.69.2-dev | 126 | 7/19/2025 |
| 0.68.6 | 136 | 7/19/2025 |
| 0.57.2-dev | 156 | 2/1/2025 |