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)
Dependencies
Tags
( 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.