SkinnyControllersCommon 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 SkinnyControllersCommon 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/SkinnyControllersCommon


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



Tags



STATS

must-have-score

1.5

avg-downloads-per-day

8

days-since-last-release

558