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.
To install the prerelease package:
dotnet add package ForEvolve.VerticalSlice
See NuGet.org for more information.
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.
This project plans to extend one or more of the following open source project:
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);
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).
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.
Also, please read the Contributor Covenant Code of Conduct that applies to all ForEvolve repositories.