|
3 | 3 | **CSF.Validation** is a framework [for validating domain objects]. |
4 | 4 | Its goal is to provide an extensible architecture for writing, executing and consuming the results of validation logic. |
5 | 5 |
|
6 | | -[for validating domain objects]:articles/WhatIsDomainObjectValidation.md |
| 6 | +The [documentation home page] links to tutorials, examples & guidance for writing validators. |
| 7 | +The source code is hosted on a [GitHub project site]. |
| 8 | +Please visit to contribute issue reports, changes, discussion or to see the project status. |
7 | 9 |
|
8 | | -## Tutorials & documentation |
| 10 | +[for validating domain objects]:articles/WhatIsDomainObjectValidation.md |
| 11 | +[documentation home page]:articles/index.md |
| 12 | +[GitHub project site]:https://github.com/csf-dev/CSF.Validation |
9 | 13 |
|
10 | | -The [documentation introduction page] lists the three main steps to creating a working validator, with links to further detail. |
| 14 | +## Compatibility |
11 | 15 |
|
12 | | -[documentation introduction page]:articles/index.md |
| 16 | +The CSF.Validation NuGet packages are _multi-targeted_ for a wide-range of supported .NET versions. |
| 17 | +This table shows the .NET support. |
13 | 18 |
|
14 | | -## Source code, status & issue reports |
| 19 | +| Runtime | Versions | |
| 20 | +| ------- | ----------- | |
| 21 | +| .NET Framework | **4.6.1** and up | |
| 22 | +| .NET Core | **2.0** and up | |
| 23 | +| .NET | **5.0** and up | |
15 | 24 |
|
16 | | -For the source code, to contribute changes or issue reports and to see the current project status, you are encouraged to visit the [GitHub project site]. |
| 25 | +## NuGet packages |
17 | 26 |
|
18 | | -[GitHub project site]:https://github.com/csf-dev/CSF.Validation |
| 27 | +The validation framework is distributed across a number of packages available via NuGet. |
| 28 | +This table summarises each of them and their purpose. |
19 | 29 |
|
20 | | -## Compatibility |
| 30 | +| Package | Description | |
| 31 | +| ------- | ---------- | |
| 32 | +| [CSF.Validation.Abstractions] | Models & interfaces required to consume validation from your application's logic using dependency injection. Has minimal/no dependencies of its own (depending upon target framework). | |
| 33 | +| [CSF.Validation] | The core logic of the validation framework. Only needs to be referenced by an application's startup project to configure dependency injection. | |
| 34 | +| [CSF.Validation.StandardRules] | Pre-written validation rules & messages. Also a service to validate a validation manifest. Has minimal dependencies of its own. | |
| 35 | +| [CSF.Validation.Json] | A serializer service for reading/writing [manifest models] to/from JSON, demonstrating _validation as data_. | |
| 36 | +| [CSF.Validation.Selfhosting] | A library enabling use of the validation framework by apps which do not use dependency injection. | |
21 | 37 |
|
22 | | -The CSF.Validation NuGet packages are multi-targeted for **.NET Standard 2.0** & **.NET Framework 4.6.1**. |
23 | | -This means that it supports all of the following target frameworks (amongst others): |
24 | 38 |
|
25 | | -* .NET Framework v4.6.1 or higher |
26 | | -* .NET Core v2.0 or higher |
27 | | -* .NET v5.0 or higher |
| 39 | +[CSF.Validation.Abstractions]: https://www.nuget.org/packages/CSF.Validation.Abstractions/ |
| 40 | +[CSF.Validation]: https://www.nuget.org/packages/CSF.Validation/ |
| 41 | +[CSF.Validation.StandardRules]: https://www.nuget.org/packages/CSF.Validation.StandardRules/ |
| 42 | +[CSF.Validation.Json]: https://www.nuget.org/packages/CSF.Validation.Json/ |
| 43 | +[CSF.Validation.Selfhosting]: https://www.nuget.org/packages/CSF.Validation.Selfhosting/ |
| 44 | +[manifest models]: xref:ManifestModelIndexPage |
0 commit comments