Plugin.ValidationRules 1.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Plugin.ValidationRules --version 1.5.0
NuGet\Install-Package Plugin.ValidationRules -Version 1.5.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Plugin.ValidationRules" Version="1.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Plugin.ValidationRules --version 1.5.0
#r "nuget: Plugin.ValidationRules, 1.5.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Plugin.ValidationRules as a Cake Addin
#addin nuget:?package=Plugin.ValidationRules&version=1.5.0

// Install Plugin.ValidationRules as a Cake Tool
#tool nuget:?package=Plugin.ValidationRules&version=1.5.0

Validation Rules Plugin for .NET MAUI, Xamarin, and Windows

PRs Welcome Maintenance licence

Create and validate rules for your properties for all your apps!

Improve the quality of your data using validation rules. Validation rules verify that the data the user enters into the record meets the standards you specify before the user can save the record. A validation rule can contain a formula or expression that evaluates the data in one or more fields and returns a value "True" or "False". Validation rules also include an error message to display to the user when the rule returns a value "False" due to an invalid value.

Documentation 📖

Get started by reading through the ValidationRules Plugin documentation. You can also add Validation Rule Template extension for Visual Studio to make the work much easier and faster.

Wiki

  • Validation Rules for Xamarin and Windows (EN | ES)
  • Validating Our Model (EN | ES)
  • Validation Rule Template – Extension for Visual Studio (EN | ES)
  • Plugin.ValidationRules 1.2 (EN | ES)
  • Plugin.ValidationRules 1.3 (EN | ES)
  • See more (EN | ES)

NuGet

Platform Support
Platform Version
.NET 6.0+
.NET Standard 2.0+
ValidationsRules or MyOwnImplementation

I get this question a lot, so here it is from a recent issue opened up. This plugin helps you maintain and better test your code in a scalable way by showing the results directly in the UI. This ensures the fastest, most secure, and reliable creation and editing validation rules per application. Additionally, it works with any Xamarin application, not just Xamarin.Forms.

Even if you do all the implementation of validation rules it will take a little time. And if you have to do several validations, sometimes it can be really hard.

To me that isn't as reliable as having an abstraction that does all the work for me.

Extension

Contribution 🆒

Thanks you for your interest in contributing to ValidationRules plugin! In this section we'll outline what you need to know about contributing and how to get started.

Bug Fixes

Please browse open issues, if you're looking to fix something, it's possible that someone already reported it. Additionally you select any up-for-grabs .

Pull requests

Please fill out the pull request template when you send one.

Want To Support This Project?

Just be active by submitting bugs, features, and sending those pull requests down!

Want to go further?

See what I have done.

License 📃

The MIT License (MIT) see License file.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.
  • net6.0

    • No dependencies.

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
1.5.0.1 22,530 5/14/2022
1.5.0 1,199 4/11/2022
1.4.0.1 1,266 3/1/2022
1.4.0 889 2/19/2022
1.3.2 5,553 8/16/2021
1.3.1 1,370 7/1/2021
1.3.0 2,391 5/8/2021
1.2.2 1,866 1/10/2021
1.2.1 811 1/3/2021
1.2.0 803 1/1/2021
1.1.0 9,224 9/10/2018
1.0.0.1 1,188 9/3/2018
1.0.0 1,197 9/3/2018