ExtendedValidation 0.1.1

dotnet add package ExtendedValidation --version 0.1.1                
NuGet\Install-Package ExtendedValidation -Version 0.1.1                
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="ExtendedValidation" Version="0.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ExtendedValidation --version 0.1.1                
#r "nuget: ExtendedValidation, 0.1.1"                
#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 ExtendedValidation as a Cake Addin
#addin nuget:?package=ExtendedValidation&version=0.1.1

// Install ExtendedValidation as a Cake Tool
#tool nuget:?package=ExtendedValidation&version=0.1.1                

Extended Validation extends MVC validation to support server side and client side validations of Greater Than, Less Than, Not Equal To, etc. for various data types including DateTime, string, int, long.

Ex: In your model define -
[Display(Name="Start Date")]
public DateTime Startdate { get; set;  }

[GreaterThan("Startdate")]
Display(Name = "End Date")]
public DateTime Enddate { get; set; }

public int? int1 { get; set; }
[NotEqualTo("int1", ErrorMessage="{0} cannot be equal to {1}")]
public int? int2 { get; set; }

*** Don't forget to include ExtendedValidation.js to your view page available in your Scripts folder once you install the package.

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.1 224 3/18/2014
0.1.0 56 3/18/2014