Altairis.ValidationToolkit
4.1.2
dotnet add package Altairis.ValidationToolkit --version 4.1.2
NuGet\Install-Package Altairis.ValidationToolkit -Version 4.1.2
<PackageReference Include="Altairis.ValidationToolkit" Version="4.1.2" />
paket add Altairis.ValidationToolkit --version 4.1.2
#r "nuget: Altairis.ValidationToolkit, 4.1.2"
// Install Altairis.ValidationToolkit as a Cake Addin #addin nuget:?package=Altairis.ValidationToolkit&version=4.1.2 // Install Altairis.ValidationToolkit as a Cake Tool #tool nuget:?package=Altairis.ValidationToolkit&version=4.1.2
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.2 | 104 | 12/1/2024 |
4.1.1 | 253 | 8/16/2024 |
4.1.0 | 146 | 5/28/2024 |
4.0.0 | 108 | 5/28/2024 |
3.0.1 | 2,928 | 10/30/2023 |
3.0.0 | 249 | 7/15/2023 |
2.9.2 | 2,349 | 12/6/2021 |
2.9.1 | 440 | 3/22/2021 |
2.9.0 | 450 | 1/18/2021 |
2.8.0 | 470 | 12/14/2020 |
2.7.0 | 691 | 7/15/2020 |
2.6.1 | 560 | 7/3/2020 |
2.6.0 | 495 | 7/1/2020 |
2.5.0 | 16,416 | 5/27/2019 |
2.0.0 | 11,764 | 12/19/2017 |
1.2.0 | 5,190 | 9/16/2015 |
1.1.0 | 1,738 | 9/19/2014 |
1.0.1 | 2,271 | 4/18/2014 |
1.0.0 | 1,563 | 4/18/2014 |