SkinnyControllersGenerator NuGet Package

Autogenerates actions to a controller from a class .
( replace below single quotes with double quotes)
[AutoActions(template = TemplateIndicator.AllPost,FieldsName =new[] { '*' }, ExcludeFields =new[]{'_logger'})]
[ApiController]
[Route('[controller]/[action]')]
public partial class WeatherForecastController : ControllerBase{
// it will generate for this field
private readonly RepositoryWF repository;

Add also Nuget package SkinnyControllersGenerator
You can have your own template - read the readme.txt.




Got any SkinnyControllersGenerator Question?





Info

Version: 2023.5.14.2055
Author(s): Andrei Ignat
Last Update: Sunday, May 14, 2023
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/ignatandrei/SkinnyControllersGenerator/
NuGet Url: https://www.nuget.org/packages/SkinnyControllersGenerator


Install
Install-Package SkinnyControllersGenerator
dotnet add package SkinnyControllersGenerator
paket add SkinnyControllersGenerator
SkinnyControllersGenerator Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

2

avg-downloads-per-day

11

days-since-last-release

320