Info
Version: | 2019.2.9.2128 |
Author(s): | Tom Schreck |
Last Update: | Saturday, February 9, 2019 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/CodeGenerator |
Install
Install-Package CodeGenerator
dotnet add package CodeGenerator
paket add CodeGenerator
CodeGenerator Download (Unzip the "nupkg" after downloading)
Dependencies
- Newtonsoft.Json(>= 10.0.3)
- Microsoft.Bcl(>= 1.1.10)
- Microsoft.Bcl.Build(>= 1.0.21)
- Microsoft.CSharp(>= 4.5.0)
- Microsoft.SqlServer.SqlManagementObjects(>= 140.17283.0)
- Microsoft.VisualStudio.TextTemplating.Interfaces.10.0(>= 10.0.30320)
- Nito.AsyncEx(>= 4.0.1)
- NJsonSchema.CodeGeneration.CSharp(>= 9.13.17)
- NJsonSchema.CodeGeneration.TypeScript(>= 9.13.17)
Tags
* SQL Server 2016 Stored Procedures for CRUD activiity
* Repository code for converting raw JSON to concrete implementations of C# Interface
* Model code which is the concrete implementation of C# Interface
* Business Library allowing for business rules to be applied to data in concrete implementation of C# Interface
* Stubbed WebApi endpoints
C# .Net Code Generator allows you to spend your time in the following areas:
* crafting stored procedures to surface database data matching the data needs imposed by a C# Interface
* crafting your business rules in a single location
* crafting WebApi endpoints (you can use code generated samples as a starting point)
* crafting your front-end experience
C# .Net Code Generator requires the following projects in .Net Solution:
* Business Library (housing business rules applied to data in concrete implementaitons of C# Interfaces)
* Data Contracts (housing C# Interfaces)
* Models (housing concrete implementaitons of C# Interfaces)
* Repository (housing calls to database and translation to concrete implementaitons of C# Interfaces)
* WebAPI (housing API controllers)
Utilizing this code generator increases your productivity and produces consistent, reliable results.