DotNetRules 1.0.4947.35776
dotnet add package DotNetRules --version 1.0.4947.35776
NuGet\Install-Package DotNetRules -Version 1.0.4947.35776
<PackageReference Include="DotNetRules" Version="1.0.4947.35776" />
paket add DotNetRules --version 1.0.4947.35776
#r "nuget: DotNetRules, 1.0.4947.35776"
// Install DotNetRules as a Cake Addin #addin nuget:?package=DotNetRules&version=1.0.4947.35776 // Install DotNetRules as a Cake Tool #tool nuget:?package=DotNetRules&version=1.0.4947.35776
The DotNetRules Library is an approach to apply policies to objects without the need to call each Policy manually from code, but with one simple call. Using this approach you can deploy your policies in an external library and deploy them independently of the core application.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on DotNetRules:
Package | Downloads |
---|---|
DotNetRules.Events
A lightweight EventSourcing library on top of DotNetRules |
|
DotNetRules.Web.Mvc
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); } |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.4947.35776 | 4,071 | 7/18/2013 |
1.0.4947.23806 | 1,828 | 7/18/2013 |
1.0.4722.37514 | 2,446 | 12/5/2012 |
1.0.4719.36642 | 2,051 | 12/2/2012 |
1.0.0 | 2,352 | 12/1/2012 |