Altairis.ValidationToolkit
4.0.0
See the version list below for details.
dotnet add package Altairis.ValidationToolkit --version 4.0.0
NuGet\Install-Package Altairis.ValidationToolkit -Version 4.0.0
<PackageReference Include="Altairis.ValidationToolkit" Version="4.0.0" />
paket add Altairis.ValidationToolkit --version 4.0.0
#r "nuget: Altairis.ValidationToolkit, 4.0.0"
// Install Altairis.ValidationToolkit as a Cake Addin #addin nuget:?package=Altairis.ValidationToolkit&version=4.0.0 // Install Altairis.ValidationToolkit as a Cake Tool #tool nuget:?package=Altairis.ValidationToolkit&version=4.0.0
Altairis Validation Toolkit
Altairis Validation Toolkit strives to make dynamic generation of user interface in ASP.NET Core more powerful and easier. It consists of several types of components, complementing each other:
- Validation attributes to validate properties and models in .NET, to extend the ones found in
System.ComponentModel.DataAnnotations
namespace. It has several Czech Republic specific ones (to validate IČO, rodné číslo and Czech bank account number), but others are generally usable, ie.[RequiredWhen]
orGreaterThan
. - Display attributes defining some commonly used logical types, like
[Color]
, or user interface elements (like[Slider]
or[Select]
). - Editor templates for both standard types and types defined by new attributes above. Also it contains very powerfull
Object.cshtml
template that can render entire forms, including nested complex types and supporting property groups. All templates are clean, modern, semantic HTML5, easy to style using CSS.
The library is compatible with .NET 8 and above. Last version to support .NET Standard 2.0 is 3.0.1.
How to install
The best way to install this library is to use the Altairis.ValidationToolkit
NuGet package for attributes.
Then dowload the EditorTemplates.zip
file and unpack it to appropriate folder:
- For Razor Pages use
~/Pages/EditorTemplates
- For MVC use
~/Views/Shared/EditorTemplates
Documentation
See the wiki for list of available attributes and templates and their usage. There are also Razor Pages and MVC sample applications showcasing the possibilities.
License
This library is open source software licensed under terms of the MIT License.
Contributor Code of Conduct
This project adheres to No Code of Conduct. We are all adults. We accept anyone's contributions. Nothing else matters.
For more information please visit the No Code of Conduct homepage.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- System.ComponentModel.Annotations (>= 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.1.1 | 232 | 8/16/2024 |
4.1.0 | 137 | 5/28/2024 |
4.0.0 | 100 | 5/28/2024 |
3.0.1 | 2,541 | 10/30/2023 |
3.0.0 | 245 | 7/15/2023 |
2.9.2 | 2,168 | 12/6/2021 |
2.9.1 | 435 | 3/22/2021 |
2.9.0 | 444 | 1/18/2021 |
2.8.0 | 463 | 12/14/2020 |
2.7.0 | 685 | 7/15/2020 |
2.6.1 | 553 | 7/3/2020 |
2.6.0 | 489 | 7/1/2020 |
2.5.0 | 16,059 | 5/27/2019 |
2.0.0 | 11,280 | 12/19/2017 |
1.2.0 | 5,177 | 9/16/2015 |
1.1.0 | 1,730 | 9/19/2014 |
1.0.1 | 2,261 | 4/18/2014 |
1.0.0 | 1,553 | 4/18/2014 |