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.
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. ReadJonny'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 copyrightedCslaGenFork 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.
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 atCSLA .NET downloads
- 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.
Why
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. ReadJonny'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 copyrightedCslaGenFork 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.
How
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 atCSLA .NET downloads