Thursday, March 15, 2007

A little over a year ago I presented at the Omaha.NET User Group meeting about using CSLA.NET and Codesmith.   My team and I have been using these two products together in a project for over a year now.   I absolutely believe these two products have contributed to the success of the projects.  

CSLA.NET gives us

  • Unlimited Undo
  • Binding to UI Controls
  • Base Collection and Editable Objects with CRUD
  • Broken rules notification to client via IDataErrorInfo
  • Remoting / Direct Data Access with only config change
  • much more!

We extended CSLA and features provided by our templates

  • Standard business rules through extended properties in SQL Server like MinLength, MaxLength, ReadOnly, IsRequired, etc
  • Custom business rules for any property by overriding AddCustomBusinessRules()
  • Add any custom code in partial classes
  • Parent object can contain 0 to many children collections
  • CRUD stored procs are generated
  • Load Multiple levels at once so that there is only one round trip to the server
  • Created SortedFilteredView object to act like a DataView
  • Custom column formatting for grids in our business objects

Take a look at the zip file attached.   I included the demo and the slides I used in the presentation.

CSLA2Demo.zip (1.34 MB)

If you have any questions or comments you can email me at  mike *at* doitconsultants.com

Mike

Thursday, March 15, 2007 9:44:58 PM (Central Standard Time, UTC-06:00)  #    Comments [1]  | 

Theme design by Jelle Druyts

Pick a theme: