Skip to content

FluentUtils is a set of .NET 5/6 class libraries that aims to reduce the amount of boiler plate code that needs to be written when starting a new project

License

Notifications You must be signed in to change notification settings

draekien/Draekien.FluentUtils

Repository files navigation

FluentUtils

CI for FluentUtils codecov

Introduction

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:

Getting Started

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

Install from NuGet registry (recommended)

  1. Run dotnet add PROJECT package PACKAGE

Install from GitHub NuGet registry

  1. 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>
    
  2. 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.

Using the class libraries

For sample usage, take a look at the projects in the Samples directory, or navigate to the below README files.

About

FluentUtils is a set of .NET 5/6 class libraries that aims to reduce the amount of boiler plate code that needs to be written when starting a new project

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages