DTOMaker.Runtime.MemBlocks 0.55.25-dev

This is a prerelease version of DTOMaker.Runtime.MemBlocks.
There is a newer version of this package available.
See the version list below for details.
dotnet add package DTOMaker.Runtime.MemBlocks --version 0.55.25-dev
                    
NuGet\Install-Package DTOMaker.Runtime.MemBlocks -Version 0.55.25-dev
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DTOMaker.Runtime.MemBlocks" Version="0.55.25-dev" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DTOMaker.Runtime.MemBlocks" Version="0.55.25-dev" />
                    
Directory.Packages.props
<PackageReference Include="DTOMaker.Runtime.MemBlocks" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DTOMaker.Runtime.MemBlocks --version 0.55.25-dev
                    
#r "nuget: DTOMaker.Runtime.MemBlocks, 0.55.25-dev"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DTOMaker.Runtime.MemBlocks@0.55.25-dev
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DTOMaker.Runtime.MemBlocks&version=0.55.25-dev&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DTOMaker.Runtime.MemBlocks&version=0.55.25-dev&prerelease
                    
Install as a Cake Tool

DTOMaker

Types and source generators for building DTOs (Data Transport Objects) and related POCOs (Plain Old C# Objects).

todo build badge

Warning: This is pre-release software under active development. Breaking changes may occur.

DTOMaker.Models

Attributes for defining simple data models as interfaces in C#.

DTOMaker.Models.MemBlocks

Additional attributes used by the DTOMaker.MemBlocks source generator, to manage entity and member memory layout.

DTOMaker.Models.MessagePack

Additional attributes used by the DTOMaker.MessagePack source generator, to manage MessagePack entity and member keys.

DTOMaker.Core

Core types used by source generators at compile-time, including a common syntax receiver, and a powerful template processor.

Features

Features implemented:

  • DTOMaker.MessagePack source generator
  • DTOMaker.MemBlocks source generator
  • DTOMaker.CSPoco source generator
  • 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

Features not implemented:

  • Nullable types. T? can be implemented with a pair of fields (Boolean, T).
  • Enum data types. Enums can be implemented with an underlying integer property and a cast.

In progress:

  • multi-namespace models
  • entity members

Coming soon:

  • reservation (hidden members)
  • Json (NewtonSoft) generator
  • Json (System.Text) generator
  • Orleans generator
  • ProtobufNet 3.0 generator
  • NetStrux generator
  • compact layout method

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

These models are consumed by the following source generators to emit DTO classes that implement the model interfaces.

DTOMaker.Runtime

Common types used at runtime by DTOMaker entities.

Benchmarks

Some benchmarking comparing the serialization and deserialization performance of various generated DTOs can be found at: todo

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.70.2 35 9/2/2025
0.70.1-dev 172 8/27/2025
0.69.10 107 8/17/2025
0.69.9 59 8/16/2025
0.69.8 137 8/13/2025
0.69.7-dev 134 8/13/2025
0.69.6-dev 127 8/12/2025
0.69.4-dev 103 8/9/2025
0.69.3-dev 24 7/19/2025
0.69.2-dev 22 7/19/2025
0.68.6 45 7/19/2025
0.68.5-dev 44 7/19/2025
0.68.2-dev 115 7/17/2025
0.68.1-dev 114 7/17/2025
0.67.7 119 7/17/2025
0.67.6-dev 144 7/9/2025
0.67.5-dev 136 7/9/2025
0.67.3-dev 141 7/7/2025
0.67.1-dev 289 6/10/2025
0.66.18 250 6/9/2025
0.66.17-dev 216 6/9/2025
0.66.16-dev 117 6/8/2025
0.66.14-dev 80 6/7/2025
0.66.13-dev 143 6/5/2025
0.66.10-dev 145 6/5/2025
0.66.9-dev 143 6/5/2025
0.66.8-dev 142 6/5/2025
0.66.7-dev 138 6/4/2025
0.66.2-dev 69 5/31/2025
0.65.20-generics-g24a665d336 71 5/31/2025
0.65.13-generics-ge74b19332f 160 4/23/2025
0.65.10-generics-g6f262eb134 195 4/17/2025
0.65.1-generics 74 5/31/2025
0.64.27 146 5/27/2025
0.64.26 203 5/16/2025
0.64.24 151 5/8/2025
0.64.22 170 4/23/2025
0.64.20 164 4/10/2025
0.64.18 163 4/10/2025
0.64.17 172 4/10/2025
0.64.16 165 4/9/2025
0.64.10 166 4/7/2025
0.64.9 137 4/4/2025
0.64.8-dev 162 4/1/2025
0.64.7-dev-g53a80ba3be 149 4/1/2025
0.64.5-dev-g449e36f771 486 3/25/2025
0.64.5-dev-g2fcf9bff64 152 4/1/2025
0.64.4-dev 154 4/1/2025
0.64.3-dev 157 3/31/2025
0.64.2-dev 484 3/25/2025
0.64.1-dev 487 3/25/2025
0.63.60-gee4d301e03 486 3/25/2025
0.63.19 109 3/21/2025
0.63.19-g2e909c64aa 102 3/21/2025
0.63.17 125 3/14/2025
0.63.16 123 3/14/2025
0.63.15 153 3/13/2025
0.63.13 166 3/11/2025
0.63.12 159 3/11/2025
0.63.11-dev 158 3/11/2025
0.63.9-dev 155 3/11/2025
0.63.8-dev 166 3/10/2025
0.63.7-dev 158 3/10/2025
0.63.6-dev 166 3/10/2025
0.63.3-dev 155 3/10/2025
0.62.10 232 3/8/2025
0.62.9 228 3/8/2025
0.62.7 222 3/7/2025
0.62.6-dev 212 3/7/2025
0.62.5-dev 210 3/7/2025
0.61.14 222 3/6/2025
0.61.13-dev 200 3/6/2025
0.61.12-dev 202 3/6/2025
0.61.10-dev 217 3/6/2025
0.61.9-dev 207 3/5/2025
0.61.8-dev 209 3/5/2025
0.61.5-dev 216 3/4/2025
0.61.3-dev 206 3/4/2025
0.61.2-dev 147 3/3/2025
0.60.8 132 2/27/2025
0.60.7 106 2/27/2025
0.60.6-dev 92 2/27/2025
0.60.3-dev 95 2/25/2025
0.59.10 120 2/19/2025
0.59.8-dev 113 2/19/2025
0.59.5-dev 103 2/17/2025
0.59.4-dev 99 2/15/2025
0.58.9 116 2/4/2025
0.58.8-dev 95 2/4/2025
0.57.6 117 2/1/2025
0.57.4 114 2/1/2025
0.57.2-dev 103 2/1/2025
0.57.1-dev 93 2/1/2025
0.56.13 117 1/31/2025
0.56.12-dev 96 1/31/2025
0.56.11-dev 99 1/30/2025
0.56.10-dev 101 1/30/2025
0.56.9-dev 101 1/30/2025
0.56.6-dev 91 1/24/2025
0.56.5-dev 99 1/24/2025
0.56.4-dev 93 1/24/2025
0.56.3-dev 95 1/24/2025
0.55.38 117 1/23/2025
0.55.37-dev 101 1/23/2025
0.55.36-dev 108 1/22/2025
0.55.34-dev 95 1/22/2025
0.55.32-dev 89 1/22/2025
0.55.31-dev 100 1/21/2025
0.55.30-dev 98 1/21/2025
0.55.29-dev 87 1/20/2025
0.55.27-dev 96 1/20/2025
0.55.25-dev 95 1/20/2025
0.55.24-dev 97 1/20/2025
0.55.23-dev 87 1/19/2025
0.55.20-dev 90 1/19/2025
0.55.17-dev 90 1/19/2025
0.55.14-dev 84 1/19/2025
0.54.2 125 1/3/2025
0.54.1-dev 102 1/3/2025
0.53.4 123 1/1/2025
0.53.3 118 1/1/2025
0.53.2 130 12/31/2024
0.53.1-dev 86 12/31/2024
0.52.1 110 12/31/2024
0.51.1 108 12/31/2024
0.50.2 103 12/31/2024
0.50.1-dev 89 12/31/2024
0.49.7 115 12/31/2024
0.49.6 116 12/29/2024
0.49.5-dev 92 12/29/2024
0.49.4-dev 100 12/29/2024