DotNetRules.Web.Mvc 1.0.4722.37515

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

// Install DotNetRules.Web.Mvc as a Cake Tool
#tool nuget:?package=DotNetRules.Web.Mvc&version=1.0.4722.37515

An extension for the DotNetRules Library. Cleverly it’s called “DotNetRules.Web.Mvc”. It has the big advantage that it uses the ModelState to log errors. To use it, simply call ApplyPolicy(For) at the ModelState, like so:

ModelState.ApplyPoliciesFor(orig, product,
   policies: new[] { typeof(MapProductLegalPolicy) });
if (!ModelState.IsValid)
{
   return Edit(product.Id);
}

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.

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.0.4722.37515 2,182 12/5/2012
1.0.4719.36642 1,292 12/2/2012
1.0.1 1,405 12/1/2012
1.0.0 1,458 12/1/2012