Skip to content

ForEvolve/ForEvolve.VerticalSlice

Repository files navigation

ForEvolve.VerticalSlice

Utilities to help with vertical slice architecture. This project depends on AutoMapper, FluentValidation, MediatR, and Scrutor. The goal is to extend one or more of these open source projects with new validators, filters, etc.

Build, Test, and Deploy master to NuGet.org Nuget (with prereleases)

Getting Started

To install the prerelease package:

dotnet add package ForEvolve.VerticalSlice

See NuGet.org for more information.

Build and Test

To build or test, simply run dotnet commands like:

dotnet build
dotnet test
dotnet run
# ...

See .github/workflows/master.yml for more information about the master CI build.

Extensions

This project plans to extend one or more of the following open source project:

FluentValidation

UriValidator

Allow validating string property, making sure the value is a valid Uri.

How to use:

// Any Uri
RuleFor(x => x.Path).Uri();

// Relative Uri
RuleFor(x => x.Path).Uri(UriKind.Relative);

// Absolute Uri
RuleFor(x => x.Path).Uri(UriKind.Absolute);

The Plan

I plan on using this project as my central vertical slice stack toolbox. I may, in the future, split the project into multiple smaller projects to reduce the number of dependencies and allow each one to be used independently (like load only FluentValidation extensions without adding dependencies on the other libraries).

How to contribute?

If you would like to contribute to the Framework, first, thank you for your interest and please read Contributing to ForEvolve open source projects for more information.

Contributor Covenant Code of Conduct

Also, please read the Contributor Covenant Code of Conduct that applies to all ForEvolve repositories.