FluentUtils is a set of .NET 6 class libraries that aims to reduce the amount of boiler plate code that needs to be written when starting a new project. It currently contains utils for:
- AutoMapper
- ValueObject
- MediatR
- Enums
- WebAPIs
NuGet packages generated by this project are published on both the GitHub and Nuget registries. Currently the below packages are ready to be installed:
- FluentUtils.ValueObject
- FluentUtils.AutoMapper
- FluentUtils.AutoMapper.Extensions.Microsoft.DependencyInjection
- FluentUtils.MediatR.Pagination
- FluentUtils.MediatR.Pagination.AspNetCore
- FluentUtils.EnumExtensions
- FluentUtils.FromCompositeAttribute
- FluentUtils.MinimalApis.EndpointDefinitions
- Run
dotnet add PROJECT package PACKAGE
-
Add
https://nuget.pkg.github.com/draekien/index.json
as a package source in your NuGet config.<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="github" value="https://nuget.pkg.github.com/draekien/index.json" /> </packageSources> <packageSourceCredentials> <github> <add key="Username" value="USERNAME" /> <add key="ClearTextPassword" value="TOKEN" /> </github> </packageSourceCredentials> </configuration>
-
Run
dotnet add PROJECT package PACKAGE
GitHub NuGet registry currently does not support debug symbols. For ease of debugging, consider installing the package from the NuGet registry.
For sample usage, take a look at the projects in the Samples
directory, or navigate to the below README files.