Dhgms.Nucleotide.Generators
3.2.281
See the version list below for details.
dotnet add package Dhgms.Nucleotide.Generators --version 3.2.281
NuGet\Install-Package Dhgms.Nucleotide.Generators -Version 3.2.281
<PackageReference Include="Dhgms.Nucleotide.Generators" Version="3.2.281" />
paket add Dhgms.Nucleotide.Generators --version 3.2.281
#r "nuget: Dhgms.Nucleotide.Generators, 3.2.281"
// Install Dhgms.Nucleotide.Generators as a Cake Addin #addin nuget:?package=Dhgms.Nucleotide.Generators&version=3.2.281 // Install Dhgms.Nucleotide.Generators as a Cake Tool #tool nuget:?package=Dhgms.Nucleotide.Generators&version=3.2.281
Nucleotide
Mission Statement
To provide a tool that automatically generates repeditive .NET code to allow better use of developers time.
Current Status
This project is in a beta phase and tied to work being done in https://github.com/dpvreony/whipstaff, development is slow due to COVID workload.
Introduction
Nucleotide is a library to aid in the generation of .NET code for manipulation the following types of objects:
- Client\Server Services (Interfaces)
- Commands (Interfaces and Classes)
- Command Factory (Interfaces and Classes)
- Entity Framework DbSet (Classes)
- Entity Framework Models (Classes)
- Entity Framework Entity Type Configuration (Classes)
- Entity Framework Parent and Child Foreign Keys Representation (Interfaces)
- Models (Interfaces and Classes)
- Queries (Interfaces and Classes)
- Query Factories (Interfaces and Classes)
- Request DTO POCO Objects (Classes)
- Response DTO POCO Objects (Classes)
- SignalR Hubs (Classes)
- WCF Service classes (Classes)
- Web Api Client (Classes)
- Web Api Controllers (Classes)
This project leverages Roslyn functionality to combine a simple DSL style model with the power of the compiler to give a simple way to generate code.
This version of Nucleotide is built upon CodeGenerators.Roslyn, this has allowed the removal of dependency on -.tt files.
Credits
Getting Started
Pre-requisites
You will need:
- Visual Studio 2019
- A project using
- netcore 3.1 upward
- C# 8 language compiler settings or later
Before you start
You can use the following project structure
- Your code generation model and the generated code are in the same project.
- Your code generation model is in Project1, while your generated code is in Project2.
Get the package (Single Project)
You want to install Nucleotide in the project where you want to place your generated model.
Install-Package Dhgms.Nucleotide
Get the package (Dual Project)
In project1.
Install-Package Dhgms.Nucleotide
Add Your Code Generation Models
Inherit the Code Generation Attributes.
In project2.
Reference Project1.
Install-Package Dhgms.Nucleotide
Apply the Assembly Code Generation Attributes.
Get started with a Code Generation Model
TODO.
Apply a Model Generation Attribute
TODO.
Viewing the documentation
The documentation can be found at http://dpvreony.github.io/nucleotide/
Contributing to the code
See the contribution guidelines.
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 was computed. 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. |
.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
- Microsoft.CodeAnalysis.CSharp (>= 4.10.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Dhgms.Nucleotide.Generators:
Package | Downloads |
---|---|
Dhgms.Nucleotide.Attributes
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.2.284 | 232 | 8/10/2024 |
3.2.281 | 108 | 7/22/2024 |
3.2.280 | 99 | 7/19/2024 |
3.2.262 | 264 | 5/22/2024 |
3.2.235 | 522 | 2/2/2024 |
3.2.228 | 349 | 12/31/2023 |
3.2.225 | 151 | 12/22/2023 |
3.2.223 | 171 | 12/17/2023 |
3.2.222 | 109 | 12/17/2023 |
3.2.189 | 877 | 8/31/2023 |
3.2.186 | 242 | 8/22/2023 |
3.2.131 | 1,155 | 12/27/2022 |
3.2.27 | 1,820 | 2/11/2022 |
3.2.20 | 457 | 1/18/2022 |
3.2.18 | 478 | 1/11/2022 |
3.2.17 | 447 | 1/10/2022 |
3.2.13 | 281 | 1/6/2022 |
3.2.2 | 706 | 10/31/2021 |
3.1.3 | 701 | 9/11/2021 |
3.1.1 | 480 | 8/24/2021 |
3.0.10 | 1,595 | 1/31/2021 |
3.0.9 | 358 | 1/30/2021 |
3.0.8 | 392 | 1/30/2021 |
3.0.7 | 334 | 1/27/2021 |
3.0.6 | 369 | 1/27/2021 |
3.0.5 | 369 | 1/25/2021 |
2.0.0 | 2,832 | 4/12/2020 |