DTOMaker.Core 0.41.6

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

DTOMaker

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

Build-Deploy

Warning: This is pre-release software under active development. Not for production use. Breaking changes occur often.

DTOMaker.Models

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

DTOMaker.Core

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

Features

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.
  • DTOMaker.MessagePack source generator
  • DTOMaker.MemBlocks source generator
  • DTOMaker.CSPoco source generator
  • String members:
    • UTF8-encoded fixed length strings (MemBlocks)

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:

  • polymorphic types

Coming next:

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

Coming later:

  • C# records generator
  • Google Protobuf .proto generation
  • 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.

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.55.34-dev 243 1/22/2025
0.55.32-dev 108 1/22/2025
0.55.31-dev 111 1/21/2025
0.55.30-dev 117 1/21/2025
0.55.29-dev 111 1/20/2025
0.55.27-dev 111 1/20/2025
0.55.25-dev 147 1/20/2025
0.55.24-dev 218 1/20/2025
0.55.23-dev 127 1/19/2025
0.55.20-dev 110 1/19/2025
0.55.17-dev 102 1/19/2025
0.55.14-dev 219 1/19/2025
0.55.3-dev 110 1/9/2025
0.55.2-dev 93 1/9/2025
0.54.2 153 1/3/2025
0.54.1-dev 139 1/3/2025
0.53.3 159 1/1/2025
0.53.2 147 12/31/2024
0.53.1-dev 114 12/31/2024
0.51.2 135 12/31/2024
0.51.1 124 12/31/2024
0.50.3 136 12/31/2024
0.50.2-dev 119 12/31/2024
0.50.1-dev 113 12/31/2024
0.49.7 130 12/31/2024
0.49.6 134 12/29/2024
0.49.5-dev 116 12/29/2024
0.49.4-dev 115 12/29/2024
0.48.5 130 12/29/2024
0.48.4-dev 119 12/28/2024
0.48.3-dev 113 12/28/2024
0.48.2-dev 107 12/28/2024
0.48.1-dev 118 12/28/2024
0.47.1 135 12/27/2024
0.46.9 123 12/27/2024
0.46.8 127 12/27/2024
0.46.7 141 12/27/2024
0.46.6 134 12/23/2024
0.46.5 130 12/23/2024
0.46.4 126 12/22/2024
0.46.3 121 12/22/2024
0.46.2-dev 104 12/22/2024
0.46.1-dev 111 12/22/2024
0.45.4 121 12/21/2024
0.45.3-dev 113 12/20/2024
0.45.2-dev 119 12/20/2024
0.44.4 112 12/19/2024
0.44.3 127 12/19/2024
0.44.2 135 12/19/2024
0.44.1 123 12/19/2024
0.43.5 112 12/19/2024
0.43.4 125 12/19/2024
0.43.3 122 12/19/2024
0.43.2-dev 114 12/19/2024
0.43.1-dev 123 12/18/2024
0.42.2 144 12/18/2024
0.42.1-dev 118 12/18/2024
0.41.6 117 12/18/2024
0.41.5-dev 107 12/18/2024
0.40.16 126 12/17/2024
0.40.14 118 12/16/2024
0.40.12-dev 104 12/16/2024
0.40.3-dev 114 12/3/2024
0.40.1-dev 109 12/3/2024
0.39.2 126 12/3/2024
0.39.1-dev 114 12/2/2024
0.38.4 127 11/30/2024
0.38.3-dev 105 11/30/2024
0.38.2-dev 113 11/30/2024
0.38.1-dev 104 11/25/2024
0.37.3 135 11/24/2024
0.37.2 133 11/23/2024
0.37.1 124 11/23/2024
0.36.6 259 11/23/2024
0.36.5 283 11/22/2024
0.36.4 265 11/22/2024
0.36.2 129 11/20/2024
0.34.1 130 11/17/2024
0.33.1 131 11/17/2024
0.32.2 135 11/16/2024
0.31.1 138 11/16/2024
0.30.5 129 11/16/2024
0.30.2 142 11/15/2024
0.30.1 144 11/13/2024
0.29.14 131 11/13/2024
0.29.12 126 11/13/2024
0.29.11 182 11/13/2024
0.29.9 181 11/13/2024
0.29.8 180 11/13/2024
0.29.7 189 11/12/2024
0.29.6 184 11/12/2024
0.29.5 190 11/12/2024
0.29.4-dev 152 11/12/2024
0.29.3-dev 148 11/12/2024
0.29.1-dev 114 11/11/2024
0.28.1 168 11/11/2024
0.27.4 154 11/11/2024
0.27.3 147 11/10/2024
0.27.2 137 11/9/2024
0.26.11 144 11/9/2024
0.26.10-dev 110 11/6/2024
0.26.9-dev 109 11/5/2024
0.26.7-dev 115 11/4/2024
0.26.3-dev 94 10/22/2024
0.26.2-dev 130 10/20/2024
0.25.5 158 10/20/2024
0.25.4-dev 138 10/20/2024
0.25.3-dev 133 10/20/2024
0.25.2-dev 150 10/19/2024
0.25.1-dev 157 10/19/2024
0.24.8 173 10/19/2024
0.24.7 175 10/19/2024
0.24.6 163 10/19/2024
0.24.5-beta 145 10/19/2024
0.24.4-beta 160 10/18/2024
0.24.3-beta 160 10/18/2024
0.24.2-beta 176 10/18/2024
0.24.1-beta 155 10/18/2024
0.23.5 185 10/18/2024
0.23.4 169 10/18/2024
0.23.3 199 10/18/2024
0.23.2-beta-gcd1d98d29f 161 10/18/2024
0.23.2-beta 157 10/18/2024
0.22.8 179 10/18/2024
0.22.7 177 10/18/2024
0.22.6-beta 100 10/17/2024
0.22.1-beta 120 10/16/2024
0.21.3 144 10/10/2024
0.21.2-beta 109 10/10/2024
0.20.4 152 10/8/2024
0.20.3-beta 108 10/7/2024
0.20.1-beta 112 10/7/2024
0.19.4 140 10/7/2024
0.19.3 169 10/6/2024
0.19.1 161 10/6/2024
0.18.1 170 10/6/2024
0.17.1 145 10/5/2024
0.16.2 133 10/5/2024
0.16.1 140 10/5/2024
0.15.1 142 10/5/2024
0.14.2 147 10/5/2024
0.13.1 139 10/4/2024
0.12.2 148 10/4/2024
0.11.13 157 10/4/2024
0.11.7 141 10/3/2024
0.11.5-beta 111 10/3/2024
0.11.2-beta 114 10/2/2024
0.11.1-beta 123 10/2/2024
0.10.3 153 10/2/2024
0.10.2-beta 119 10/2/2024
0.10.1-beta 113 10/2/2024
0.9.5 160 10/2/2024
0.9.4-beta 131 10/2/2024
0.9.3-beta 115 10/2/2024
0.9.2-beta 103 10/2/2024
0.9.1 161 10/1/2024
0.8.3 144 10/1/2024
0.8.2-beta 114 10/1/2024
0.8.1-beta 114 10/1/2024
0.7.6 141 9/30/2024
0.7.5 143 9/28/2024
0.7.3-alpha 114 9/28/2024
0.7.2-alpha 116 9/28/2024
0.7.1-alpha 112 9/28/2024
0.6.2-beta 134 9/26/2024
0.5.2-beta 123 9/25/2024
0.5.1-beta 103 9/25/2024
0.4.1-beta 95 9/25/2024
0.3.2-beta 147 9/22/2024
0.3.1-beta 126 9/22/2024
0.2.2-beta 130 9/21/2024
0.2.1-beta 121 9/21/2024
0.1.15-alpha 121 9/21/2024
0.1.13-alpha 139 9/21/2024
0.1.12-alpha 121 9/21/2024
0.1.11-alpha 113 9/21/2024
0.1.9-alpha 114 9/21/2024