DTOMaker.CSPoco 0.29.4-dev

This is a prerelease version of DTOMaker.CSPoco.
There is a newer version of this package available.
See the version list below for details.
dotnet add package DTOMaker.CSPoco --version 0.29.4-dev
                    
NuGet\Install-Package DTOMaker.CSPoco -Version 0.29.4-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.CSPoco" Version="0.29.4-dev" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DTOMaker.CSPoco" Version="0.29.4-dev" />
                    
Directory.Packages.props
<PackageReference Include="DTOMaker.CSPoco" />
                    
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.CSPoco --version 0.29.4-dev
                    
#r "nuget: DTOMaker.CSPoco, 0.29.4-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.CSPoco@0.29.4-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.CSPoco&version=0.29.4-dev&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DTOMaker.CSPoco&version=0.29.4-dev&prerelease
                    
Install as a Cake Tool

DTOMaker.Core

Build-Deploy

Warning: This is pre-release software under active development. Not for production use. Do not use if you can't tolerate breaking changes occasionally.

This package contains attributes for defining simple data models as interfaces, and also includes types used at compile-time, and by generated code at runtime.

Features implemented:

  • Data types: Boolean, S/Byte, U/Int16/32/64/128, Double, Single, Half, Char, Guid, Decimal
  • IFreezable support
  • Templates as code, template processing
  • [Obsolete] members
  • Fixed length arrays of above types

Features not implemented:

  • Nullable types. T? can be simulated using a pair of fields (Boolean, T) and a default implementation on the interface.
  • Enum data types. An enumeration type can be simulated with a casting property and a default implementation on the interface.
  • Strings (UTF8). String types can be simulated with a byte array field and a length field and a default implementation on the interface.

In progress:

  • Json (NewtonSoft) generator
  • POCO generator

Coming next:

  • Json (System.Text) generator
  • ProtobufNet 3.0 generator
  • other model entities
  • member wire names and tags
  • reservation (hidden members)
  • compact layout method

Coming later:

  • records
  • Google Protobuf .proto generation
  • polymorphic types
  • 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.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). This source generator can be found at: https://github.com/Psiman62/DTOMaker-MemBlocks

DTOMaker.MessagePack

Generates DTOs decorated with MessagePack attributes (https://github.com/MessagePack-CSharp/MessagePack-CSharp). This source generator can be found at: https://github.com/Psiman62/DTOMaker.MessagePack

Benchmarks

Some benchmarking comparing the serialization and deserialization performance of various generated DTOs can be found at: https://github.com/Psiman62/DTOMaker-Samples

There are no supported framework assets in this 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.71.5 255 9/19/2025
0.71.4 279 9/17/2025
0.71.3 263 9/16/2025
0.71.2 222 9/15/2025
0.71.1 209 9/15/2025
0.70.3 153 9/9/2025
0.70.2 159 9/2/2025
0.70.1-dev 199 8/27/2025
0.69.10 115 8/17/2025
0.69.9 66 8/16/2025
0.69.8 150 8/13/2025
0.69.7-dev 149 8/13/2025
0.69.6-dev 146 8/12/2025
0.69.4-dev 119 8/9/2025
0.69.3-dev 82 7/19/2025
0.69.2-dev 65 7/19/2025
0.68.6 82 7/19/2025
0.68.5-dev 65 7/19/2025
0.68.2-dev 146 7/17/2025
0.68.1-dev 134 7/17/2025
0.67.7 149 7/17/2025
0.67.6-dev 157 7/9/2025
0.67.5-dev 147 7/9/2025
0.67.3-dev 155 7/7/2025
0.67.1-dev 297 6/10/2025
0.66.18 258 6/9/2025
0.66.17-dev 223 6/9/2025
0.66.16-dev 125 6/8/2025
0.66.14-dev 93 6/7/2025
0.66.13-dev 152 6/5/2025
0.66.10-dev 148 6/5/2025
0.66.9-dev 139 6/5/2025
0.66.8-dev 152 6/5/2025
0.66.7-dev 145 6/4/2025
0.66.2-dev 81 5/31/2025
0.65.20-generics-g24a665d336 85 5/31/2025
0.65.13-generics-ge74b19332f 174 4/23/2025
0.65.10-generics-g6f262eb134 192 4/17/2025
0.65.1-generics 79 5/31/2025
0.64.27 144 5/27/2025
0.64.26 213 5/16/2025
0.64.24 150 5/8/2025
0.64.22 182 4/23/2025
0.64.20 176 4/10/2025
0.64.18 194 4/10/2025
0.64.17 166 4/10/2025
0.64.16 183 4/9/2025
0.64.10 183 4/7/2025
0.64.9 143 4/4/2025
0.64.8-dev 173 4/1/2025
0.64.7-dev-g53a80ba3be 156 4/1/2025
0.64.5-dev-g449e36f771 490 3/25/2025
0.64.5-dev-g2fcf9bff64 158 4/1/2025
0.64.4-dev 163 4/1/2025
0.64.3-dev 176 3/31/2025
0.64.2-dev 495 3/25/2025
0.64.1-dev 481 3/25/2025
0.63.60-gee4d301e03 485 3/25/2025
0.63.19 117 3/21/2025
0.63.19-g2e909c64aa 112 3/21/2025
0.63.17 139 3/14/2025
0.63.16 122 3/14/2025
0.63.15 165 3/13/2025
0.63.13 177 3/11/2025
0.63.12 172 3/11/2025
0.63.11-dev 167 3/11/2025
0.63.9-dev 149 3/11/2025
0.63.8-dev 171 3/10/2025
0.63.7-dev 178 3/10/2025
0.63.6-dev 167 3/10/2025
0.63.3-dev 180 3/10/2025
0.62.10 238 3/8/2025
0.62.9 222 3/8/2025
0.62.7 232 3/7/2025
0.62.6-dev 212 3/7/2025
0.62.5-dev 220 3/7/2025
0.61.14 237 3/6/2025
0.61.13-dev 208 3/6/2025
0.61.12-dev 218 3/6/2025
0.61.10-dev 212 3/6/2025
0.61.9-dev 217 3/5/2025
0.61.8-dev 214 3/5/2025
0.61.5-dev 217 3/4/2025
0.61.3-dev 212 3/4/2025
0.61.2-dev 152 3/3/2025
0.60.8 133 2/27/2025
0.60.7 115 2/27/2025
0.60.6-dev 107 2/27/2025
0.60.3-dev 113 2/25/2025
0.59.10 127 2/19/2025
0.59.8-dev 115 2/19/2025
0.59.5-dev 113 2/17/2025
0.59.4-dev 107 2/15/2025
0.58.9 130 2/4/2025
0.58.8-dev 113 2/4/2025
0.57.6 126 2/1/2025
0.57.4 115 2/1/2025
0.57.2-dev 107 2/1/2025
0.57.1-dev 101 2/1/2025
0.56.13 123 1/31/2025
0.56.12-dev 108 1/31/2025
0.56.11-dev 105 1/30/2025
0.56.10-dev 109 1/30/2025
0.56.9-dev 113 1/30/2025
0.56.6-dev 97 1/24/2025
0.56.5-dev 102 1/24/2025
0.56.4-dev 98 1/24/2025
0.56.3-dev 128 1/24/2025
0.55.38 144 1/23/2025
0.55.37-dev 123 1/23/2025
0.55.36-dev 109 1/22/2025
0.55.34-dev 99 1/22/2025
0.55.32-dev 93 1/22/2025
0.55.31-dev 108 1/21/2025
0.55.30-dev 101 1/21/2025
0.55.29-dev 120 1/20/2025
0.55.27-dev 103 1/20/2025
0.55.25-dev 99 1/20/2025
0.55.24-dev 109 1/20/2025
0.55.23-dev 102 1/19/2025
0.55.20-dev 91 1/19/2025
0.55.17-dev 94 1/19/2025
0.55.14-dev 104 1/19/2025
0.54.1 130 1/3/2025
0.53.4 146 1/1/2025
0.53.3 138 12/31/2024
0.53.2-dev 94 12/31/2024
0.52.1 125 12/31/2024
0.51.1 123 12/31/2024
0.50.2 114 12/31/2024
0.50.1-dev 106 12/31/2024
0.49.3 127 12/29/2024
0.49.2-dev 104 12/29/2024
0.49.1-dev 105 12/29/2024
0.48.5 123 12/29/2024
0.48.4-dev 97 12/29/2024
0.48.3-dev 97 12/28/2024
0.48.2-dev 106 12/28/2024
0.48.1-dev 99 12/28/2024
0.47.2 113 12/28/2024
0.47.1 121 12/27/2024
0.46.9 125 12/27/2024
0.46.8 118 12/27/2024
0.46.7 116 12/27/2024
0.46.6 110 12/23/2024
0.46.5 111 12/23/2024
0.46.4 112 12/23/2024
0.46.3 116 12/22/2024
0.46.2-dev 99 12/22/2024
0.46.1-dev 97 12/22/2024
0.45.3 121 12/22/2024
0.45.2-dev 114 12/21/2024
0.45.1-dev 103 12/20/2024
0.44.4 112 12/19/2024
0.44.3 115 12/19/2024
0.44.2 113 12/19/2024
0.44.1 106 12/19/2024
0.43.3 116 12/19/2024
0.43.2-dev 105 12/19/2024
0.43.1-dev 100 12/19/2024
0.42.2 118 12/18/2024
0.42.1-dev 103 12/18/2024
0.41.2 128 12/18/2024
0.41.1-dev 92 12/18/2024
0.40.4 127 12/16/2024
0.40.3-dev 96 12/16/2024
0.39.2 118 12/3/2024
0.39.1-dev 99 12/3/2024
0.38.2-dev 99 11/25/2024
0.38.1-dev 106 11/25/2024
0.37.2 117 11/24/2024
0.37.1 126 11/23/2024
0.36.6 125 11/23/2024
0.36.5 110 11/22/2024
0.36.4 109 11/22/2024
0.34.1 114 11/17/2024
0.33.1 118 11/17/2024
0.32.2 109 11/16/2024
0.32.1 115 11/16/2024
0.31.1 105 11/16/2024
0.30.2 122 11/16/2024
0.30.1 117 11/16/2024
0.29.14 128 11/14/2024
0.29.12 123 11/13/2024
0.29.11 119 11/13/2024
0.29.9 106 11/13/2024
0.29.8 120 11/13/2024
0.29.7 128 11/12/2024
0.29.6 131 11/12/2024
0.29.5 116 11/12/2024
0.29.4 128 11/12/2024
0.29.4-dev 93 11/12/2024
0.29.3-dev 108 11/12/2024