Version 4.0.0 Change Log
This document is the change log for CSLA 4 version 4.0.0.
CSLA 4 includes support for .NET (Windows) and Silverlight.
For a more complete list of changes, go to http://www.lhotka.net/cslabugs, select ¡°all issues¡± and filter the status to ¡°closed¡± and/or ¡°checked in¡±.
Click here for a list of known issues with this version.
Release 4.0.0-100723:
LoadProperty (100722)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=772
Apply the non-generic LoadProperty() change to CommandBase and ReadOnlyBase.
RC1 4.0.0-100719:
Samples (100719)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=748
Removed all samples that won¡¯t be updated for CSLA 4 to avoid confusion. Some of these samples may come back in the future as time permits, but for now only samples that build in CSLA 4 will remain.
RuleUri (100719)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=802
Add Arguments property.
EditableRootListBase (100719) Breaking change
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=769
Renamed ERLB to DynamicListBase and DynamicBindingListBase. Fix base class types for WPF/SL as well as Windows Forms. Fix AddNewCore() on .NET side so it returns type T instead of object.
Snippets/Templates (100716)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=799
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=798
Add and update some snippets and templates for VB and C#.
LoadProperty (100715)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=772
Undo the Beta 3 change to the non-generic LoadProperty() method so the non-generic LoadProperty() no longer calls the property setter. Calling the property setter is problematic, because it forces properties to have setters, and forces Silverlight setters to be public.
The new implementation of the non-generic LoadProperty() now uses reflection to directly invoke the generic LoadProperty() method. This ensures that the non-generic behavior is the same as the generic behavior, and doesn¡¯t require that properties have a setter.
Child data portal (100715)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=738
Fix null reference issue in the exception handling code in child data portal.
Dependency rule (100714)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=801
Constructor for Dependency rule now accepts a list of affected properties, allowing for one-to-many dependencies to be established with a single rule.
BusinessRules (100719)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=796
If a rule throws an exception, BusinessRules now includes the rule:// URI as part of the description (along with the exception Message property) to make it easier to determine which rule threw the exception.
RC0 4.0.0-100708:
Snippets/templates (100708)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=795
Update snippets and templates for CSLA 4 changes.
Data portal exceptions (100708)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=794
Fix bug with data portal exception handling and SilverlightRequestProcessor.
CslaModelBinder (100708)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=790
Add support for block mode updates and make that the default. CslaModelBinder now suppresses rule checking, allows the model properties to be updated, then runs all object rules before saving the object.
This involved adding an ICheckRules interface to CSLA, so other UI frameworks can also use this interface to suppress/resume/check rules.
Business rules (100707)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=793
Add Dependency rule to enable reverse dependent properties.
BusinessPrincipalBase/CslaPrincipal (100707) Breaking change
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=787
Rename BusinessPrincipalBase to CslaPrincipal.
BusinessBase (100705)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=788
Remove non-async DataPortal_Create() method from Silverlight implementation.
BusinessRules (100705)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=792
Fix bug in GetFirstMessage().
BusinessListBase (100704)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=25
Throw an exception when a non-child object is added to a BusinessListBase.
PropertyStatus (100629)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=785
Fix issue with PropertyStatus not displaying/refreshing properly.
ObjectStatus (100629) Breaking change
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=786
Remove ObjectStatus.
RuleUri (100625)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=784
Encode path data to handle special characters.
Beta 3 4.0.0-100625:
CslaDataProvider (100625) Breaking change
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=783
The RemoveItem() method now accepts two parameters (sender, ExecuteEventArgs) so it is compatible with TriggerAction and InvokeMethod.
RuleUri (100625)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=782
Fix an issue where a long type name would cause System.Uri to fail. On .NET it has a limit of around 256 characters, and on Silverlight just 63 characters for each part of a path name. The fix breaks any long type name into 63 character parts behind the scenes, allowing System.Uri to work as expected.
LoadProperty (100624) Breaking change
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=772
The non-generic LoadProperty() method now always invokes the property setter, so it indirectly always uses the generic LoadProperty() method. This means there is complete parity between the two implementations, but it does mean there¡¯s slightly more overhead with the non-generic version of the method. In the case of BusinessBase, the property setter is invoked within a BypassPropertyChecks block, so it does a load operation, not a set operation.
IsBusy/IsSelfBusy/IsPropertyBusy (100624)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=780
These three property/methods are now virtual.
Async rules (100623)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=779
Provide the Target property to an async rule if the rule explicitly sets a ProvideTargetWhenAsync property to true. Obviously if the rule uses the Target property on a background thread that¡¯ll cause major problems, but that is just bad code and the developer deserves what they get.
This does have some interesting ramifications for rule chaining. If async rules chain to other rules (sync or async), the Target value is only provided through the chain when the parent async rules (all the way up the chain) have ProvideTargetWhenAsync set to true.
ASP.NET MVC Authorization (100623)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=778
Added HasPermissionAttribute and a set of HasPermission Html extension methods to simplify applying CSLA per-type authorization rules to controller actions and code in a view.
ASP.NET MVC ViewModelBase (100623)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=766
Added a ViewModelBase class to provide a basic implementation of IViewModel.
BusinessRule (100623)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=777
Remove unused default properties from the base class.
RuleContext (100623)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=776
Add a public constructor to enable simpler unit testing of rules.
Authorization (100616)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=773
CanReadProperty/CanWriteProperty now call FirstOrDefault.
File headers (100614)
http://www.lhotka.net/cslabugs/edit_bug.aspx?id=717
All code files now contain a standard co
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
CSLA .NET (C#) (Part2).7z (55个子文件)
CSLA .NET (C#) (Part2Of2)
3.8.1
3.8.1 Change Log.txt 994B
3.8.1 (2009-11-11) (Sample).7z 1.49MB
3.8.1 Change Log.jpg 324KB
3.8.1 (2009-11-11).7z 557KB
3.8.1 (2009-11-11) (Test).7z 421KB
3.7.1
3.7.1 Change Log.txt 3KB
3.7.1 (2009-09-28) (Sample).7z 3.84MB
3.7.1 (2009-09-28) (Test).7z 433KB
3.7.1 Change Log.jpg 1.07MB
3.7.1 (2009-09-28).7z 523KB
4.3.10
4.3 Change Log.txt 15KB
4.3.10 (2012-03-04) (Installer).7z 11.52MB
4.3.10 (2012-03-04) (Sample).7z 3.09MB
4.3.10 (2012-03-04) (Source).7z 962KB
4.3 Change Log.jpg 3.39MB
3.8.3
3.8.3 (2010-05-06) (Test).7z 421KB
3.8.3 Change Log.jpg 761KB
3.8.3 Change Log.txt 2KB
3.8.3 (2010-05-06).7z 560KB
3.8.3 (2010-05-06) (Sample).7z 1.49MB
4.1.0
4.1.0 (2011-01-18) (Installer).7z 4.82MB
4.1.0 Change Log.jpg 1.13MB
4.1.0 (2011-01-18) (Source).7z 825KB
4.1.0 (2011-01-18) (Sample).7z 2.17MB
4.1.0 Change Log.txt 4KB
4.0.0
4.0.0 Change Log.txt 30KB
4.0.0 Change Log.jpg 10.09MB
4.0.0 (2010-07-23) (Sample).7z 1.78MB
4.0.0 (2010-07-23) (Source).7z 740KB
4.0.0 (2010-07-23) (Installer).7z 3.01MB
3.8.0
3.8.0 (2009-11-05) (Sample).7z 1.49MB
3.8.0 (2009-11-05).7z 557KB
3.8.0 (2009-11-05) (Test).7z 421KB
3.8.0 Change Log.jpg 4.92MB
3.8.0 Change Log.txt 16KB
4.2.2
4.2.2 (2011-12-12) (Installer).7z 8.24MB
4.2.2 (2011-12-12) (Sample).7z 3.06MB
4.2.2 (2011-12-12) (Source).7z 952KB
4.2.2 Change Log.txt 6KB
4.2.2 Change Log.jpg 1.42MB
3.8.2
3.8.2 (2010-02-01).7z 557KB
3.8.2 (2010-02-01) (Sample).7z 1.49MB
3.8.2 (2010-02-01) (Test).7z 421KB
3.8.2 Change Log.txt 2KB
3.8.2 Change Log.jpg 597KB
4.0.1
4.0.1 Change Log.txt 5KB
4.0.1 (2010-08-28) (Installer).7z 3.07MB
4.0.1 Change Log.jpg 1.5MB
4.0.1 (2010-08-28) (Sample).7z 1.78MB
4.0.1 (2010-08-28) (Source).7z 761KB
3.8.4
3.8.4 (2011-10-03) (Test).7z 422KB
3.8.4 (2011-10-03).7z 562KB
3.8.4 (2011-10-03) (Sample).7z 1.49MB
3.8.4 Change Log.jpg 602KB
3.8.4 Change Log.txt 2KB
共 55 条
- 1
资源评论
- dhnigel2013-04-10功能齐全,解决了我的问题
GATTACA2011
- 粉丝: 313
- 资源: 1997
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功