This project has moved and is read-only. For the latest updates, please go here.

Rules sample v.1.1.0

Rating: No reviews yet
Downloads: 524
Change Set: 13167
Released: Apr 9, 2012
Updated: Apr 9, 2012 by tiago
Dev status: Stable Help Icon

Recommended Download

Source Code Visual Studio 2010 solution
source code, 1635K, uploaded Apr 9, 2012 - 213 downloads

Other Available Downloads

application, 38K, uploaded Apr 9, 2012 - 73 downloads
Documentation CslaGenFork.Rules-4.2.2-CS.chm
documentation, 402K, uploaded Apr 9, 2012 - 53 downloads
Documentation CslaGenFork.Rules-4.2.2-VB.chm
documentation, 407K, uploaded Apr 9, 2012 - 30 downloads
application, 47K, uploaded Apr 9, 2012 - 60 downloads
Documentation CslaGenFork.Rules-4.3.10-CS.chm
documentation, 410K, uploaded Apr 9, 2012 - 64 downloads
Documentation CslaGenFork.Rules-4.3.10-VB.chm
documentation, 412K, uploaded Apr 9, 2012 - 31 downloads

Release Notes

On projects for CSLA v.4.2.2, added 5 new Business Rules:
- DependencyFrom
- RequiredWhenCanWrite
- RequiredWhenIsNotNew
- RequiredWhenNew
- StopIfNotFieldExists

Added new projects for CSLA v.4.3.10 with 6 new Business Rules:
- DependencyFrom
- FieldExists
- RequiredWhenCanWrite
- RequiredWhenIsNotNew
- RequiredWhenNew
- StopIfNotFieldExists
Following CSLA convention, SL stands for Silverligth 5 and SL4 stands for Silverlight 4.

NOTE - Although the projects for CSLA v.4.1.0 still exist, this version of CSLA is no longer supported.


CslaGenFork makes it really easy to use Business and Authorization Rules imported from a DLL. As far as I know, there is only one library of rules around: CslaContrib.

Jonny Bekkum is the coordinator of CslaContrib project and he has been very busy improving the rules system of Csla. In the beginning of August 2011 there were very important upgrades made on Csla 4.2.x. Read Jonny's post to know all about it.

There is a new Csla sample - RuleTutorial - that shows how to use rules under the August 2011 upgrade to the rules system. Unfortunately the rules library of CslaContrib wasn't upgraded to Csla 4.2.2 nor to Csla 4.3.10.

This sub-project of CslaGenFork intends to release usable libraries of rules, both for Csla 4.2.2 and 4.3.10. Most of the rules from RuleTutorial are included (except for command rules) as well as some rules from CslaContrib that are absent from this tutorial. All of these rules are copyrighted Marimer LLC and subject to Csla license.

We also added some rules, both Authorization and Business Rules. This later set of rules is copyrighted CslaGenFork project and subject to MIT license.

Each file clearly states the copyright holder. Both Csla license and MIT license are very liberal and allow you to use the rules library in commercial and non-commercial products.


There are two sets of files, one for Csla 4.2.2 and another for Csla 4.3.10. Although 4.2.2 and 4.3.10 rules share the same basic code, there are slight differences.

In order to use the rules library, CslaGenFork needs to find the respective Csla.dll in the same folder of the rules DLL. The Csla.dll isn't included; compile Csla source code or grab the dll from the respective MSI, that you can download at CSLA .NET downloads

Reviews for this release

No reviews yet for this release.