Continuous Learning and Sharing of Team Foundation Server and Application Lifecycle Management RSS 2.0
# 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 10:44:58 PM (Central Daylight Time, UTC-05:00)  #    Comments [1] -
Code Generation | CSLA.NET

Tuesday, January 27, 2009 1:18:43 AM (Central Standard Time, UTC-06:00)
Hey mike -

thanks for sharing the user group demo. Along wihtthe P it's clear consise and a good starting point for a newb like me to jump into CSLA code gen.

spanks for the share. ;o)~

dave
dwm
Comments are closed.
Visual Studio ALM MVP
Microsoft Visual Studio ALM MVP
Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
Blogroll
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012
Mike Douglas
Sign In
Statistics
Total Posts: 76
This Year: 0
This Month: 0
This Week: 0
Comments: 52
All Content © 2012, Mike Douglas
DasBlog theme 'Business' created by Christoph De Baene (delarou)