Kevin, I'm sort of rolling my own set of C# business object and data access classes that are at the moment very closely based on Marco Bellinaso's WROX book: ASP.NET 2.0 Website programming Problem - Design - Solution.
First, I like Marco's approach of having the business object classes provide the data as strongly-typed objects with properties representing each piece of data, instead of using the default .NET DataSet or DataTable objects -- nothing wrong with them, but I'm more accustomed to working against BO "data objects" in the way I normally build apps, so Marco's architecture just feels right to me. Multi-row sets of data are provided as Collections of strongly-typed data objects, using the List<Customer> generics approach that arrived with .NET 2.0. Second, he has put lots of thought into performance and scalability and the base classes of the framework include some pretty cool caching mechanisms and provisions for "lazy-loading" of memos, etc. I'm not using those at the moment for this app, but they are there if needed. I don't like everything that Marco has done, but I'm following his basic layout of architecture while getting up the learning curve, then I'm tweaking and experimenting. For example, he has a base business object class that has very few methods, but then he puts named methods in the subclassed business objects for each entity like Customer.GetCustomerByCustomerID(int CustomerID). I prefer to have a generic GetItemByID(int ID) method in the base BO class with properties that list the tablename and field list, default order by, and so forth, to avoid redundant coding, so I'm sure I'll change that at some point. But my first priority is to get a working system up and going (it's a pretty small project with just 5 business objects and about 10 screens) and then use what I've learned to further refine the approach. I'm doing the BO and Data Access stuff in C# but using code-behind in VB for the web pages, so I get a good learning curve walkup on both languages at the same time. I haven't decided yet if I'll keep the framework in C# or move it to VB as another learning experience. I do highly recommend Marco's book (the 2.0 version) as a great introduction to building highly-scalable ASP.NET 2.0 apps, although as stated above I think he could have made it much smarter in the amount of code you have to write - ISBN 0-7645-8464-2. I'm also about to buy Rocky Lhotka's 2.0 version of Business Objects (there is a C# version already available and a VB version just being released right now). Rocky's book is great for laying out a scalable architectural approach to class-based data handling, including multi-levels of undo at the object level and many more cool things that are good idea-starters even if you don't swallow his entire framework. Rocky's book focuses a lot on the BO and Data Access architecture and classes and just a small amount on using them in WinForms, WebForms, and Mobile apps. Marco's book spends a lot of time on User Interface of ASP.Net apps, including great how-to examples of many of the new 2.0 classes and controls, including 2.0's Web Parts framework. (You want the C# 2005 or VB.NET 2005 "Second Edition" versions of Rocky's books for .NET 2.0 -- here is ISBN for the VB: 1590596315 but Amazon doesn't list the C# second ed yet, although it's on the shelf at B&N right now). As for commercial frameworks, Kevin's MM for .NET is the only .NET framework I've looked at (the earlier pre-2.0 version, and I liked it), but the books mentioned come with the entire framework code and a license to use it in production as long as you don't try to sell it as a framework. David Stevenson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Cully Sent: Tuesday, July 18, 2006 10:54 AM To: [EMAIL PROTECTED] Subject: Re: [NF] ASP.Net 2.0 - I'm impressed. David, Are you using (1) straight ASP.NET and it's base classes? (2) building your own framework of subclassed .NET classes? or (3) MM.NET classes? or (4) other? I'm curious about the adoption of frameworks in the .NET world. Kevin Cully CULLY Technologies, LLC Sponsor of Fox Forward 2006! http://foxforward.net David Stevenson wrote: > Alan, > > Yes, ASP.NET 2.0 has some very useful new stuff added to it, including the > Membership and User Security classes and controls that you mentioned. The > GridView and DetailsView controls that you are using for the list and > details are also very cool, especially when combined with the new > ObjectDataSource object working against Business Object classes OR the > SQLDataSource working directly against a database. > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

