CSLA .NET

From Rockford Lhotka's Expert C# 2008 and VB 2008 Business Objects books

MyCsla on CslaContrib

rated by 0 users
This post has 0 Replies | 0 Followers

Top 25 Contributor
Posts 304
JonnyBee Idea [I] Posted: Wed, Sep 2 2009 11:55 AM
Hi folks,

I've just put MyCsla for 3.6.3 and never (also 3-6-3-N2) on the CslaContrib site. http://cslacontrib.codeplex.com

The purpose is to give a combined Best Practice and extension points where we can all contribute with utility/helper classes, validation rules, components and more.

Best Practice
As a lot of you already has done - I have added my own baseclasses with extension points for logging/trace and a small sample of how to add/alter functionality without making modifications to Csla itself.

As for usage - I prefer to add this project as part of my solution as this make it easier to extend Csla inside my app and make all my BOs inherit from these baseclasses.

Also included are:
Validation Rules
  • Generic (IComparable) rules for GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEgual that compares two property values
Custom Windows Controls
  • StatusBarExtender with my implementation of wait animation and an animated splash after 2 seconds.
  • SmartDateTimePicker - also accepts text input like +, -, t, y  (all these texts are defines in Csla resources and translated)
  • BindableRadioButtons - Radio buttons that support databind, typically for use with 2-5 items
  • ErrorWarnInfoProvider - Slightly reworked version of the one already available on CslaContrib
And a sample app that demonstrates the custom windows controls.

The namespace is simply MyCsla and uses the same folder names as Csla. To download the code goto the Source Code tab and select Download.

I am posting this message on both the Csla.Net dicussions and CslaContrib discussion. Please post reponses concerning code/submissions in the CslaContrib forum.

I have volunteered to step up as overall coordinator of the CslaContrip and hope that we can tune up on more activity in this project. If you want to share som code/classes please join codeplex and send me info (as per home page on the project) or send me email with info about your code and I can post it.

Pleas note: The CslaContrib project uses the Creative Commons Attribution 2.5 license.

Hope you find this useful and want to contribute more code.

/jonnybee


Jonny Bekkum, Norway CslaContrib Coordinator
Page 1 of 1 (1 items) | RSS

Please contact Magenic for your .NET consulting
and CSLA .NET mentoring needs.
Please consider making a donation to help support the ongoing development of CSLA .NET.

Make donation through PayPal - it's fast, free and secure!
Why donate?
Copyright (c) 2006-2010 Marimer LLC. All rights reserved.
Email admin@lhotka.net for support.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems