CSLA .NET 3.5 preview release

CSLA .NET 3.5 preview release

Old forum URL: forums.lhotka.net/forums/t/4178.aspx


RockfordLhotka posted on Tuesday, January 15, 2008

I have refreshed the CSLA .NET 3.5 download with much more recent code. (www.lhotka.net/cslanet/download.aspx)

The C# and VB versions of the framework and ProjectTracker are now very comparable. The only difference is that the VB framework doesn't have the LINQ extensions yet (though the C# version doesn't have the coolest parts yet either).

Some highlights:

  1. All the new property/field/child management code is in both versions. The result is code reduction of ~35% per property and no more string literals for property names.
  2. All the new child object code is in both versions. The result is no more plumbing code for child objects, "automatic" lazy loading support and consistent persistence for root and child objects.
  3. Both versions have seriously enhanced type coercion that is used by the new property scheme and by DataMapper.
  4. Both versions have much improved type casting for SmartDate, allowing much more flexible use of this type.
  5. Check out the new ConnectionManager and ContextManager classes in Csla.Data for simplification of data access code with ADO.NET or LINQ.
  6. ProjectTracker.Library now uses an external data access assembly, which was created using LINQ to SQL.

There are many other changes/enhancements/fixes - check out the change log for details. Or look at all the green in the wish list, because that's all in 3.5.

I am still planning to do a beta release around January 25, so this is probably the last preview release before the beta.

I'm still working on a number of issues, and have more testing to do in general, but this is getting reasonably close to the final 3.5 feature set.

If you have comments/questions/concerns, please voice them now! Once the beta starts I'll be doing bug fixes only.

PC Tech replied on Wednesday, January 16, 2008

Thats great news Rocky! I'm looking forward to using Csla.net 3.5 in an upcoming LOB project. I've been using Csla.net 2.0 until now with great success. When can we expect a "hard copy" book release similar to the one for Csla.net 2.0 that starts from the bottom up? Keep up the good work. 

RockfordLhotka replied on Wednesday, January 16, 2008

With luck “Expert 2008 Business Objects” will be out around July.

 

Rocky

 

 

From: PC Tech [mailto:cslanet@lhotka.net]
Sent: Wednesday, January 16, 2008 4:13 PM
To: rocky@lhotka.net
Subject: Re: [CSLA .NET] CSLA .NET 3.5 preview release

 

Thats great news Rocky! I'm looking forward to using Csla.net 3.5 in an upcoming LOB project. I've been using Csla.net 2.0 until now with great success. When can we expect a "hard copy" book release similar to the one for Csla.net 2.0 that starts from the bottom up? Keep up the good work. 

vdhant replied on Wednesday, January 16, 2008

First of all great work...
but i must say you have wet my apatite with "though the C# version doesn't have the coolest parts yet either"... may i ask what plans you have in store.
Thanks
Anthony

RockfordLhotka replied on Wednesday, January 16, 2008

There are two LINQ related features for 3.5.

 

The first is indexed queries, which have been discussed in another thread. They are largely complete in C# and are being ported to VB. This is a useful feature if you do repeated equality searches against a list (BLB or ROLB).

 

The second addresses one of the most likely negative scenarios with LINQ. If you do this:

 

var data = from i in someList select i;

 

What you get back is an IEnumerable<ItemType>. The items themselves still belong to the original list object, but you can manipulate them through the query result. If you add or remove items from “data” it has NO IMPACT on the actual list. That is potentially quite confusing, especially if you bind “data” to a grid and expect the user to get useful results as they interact with the data in the grid.

 

So the second feature will ensure “data” is something more complex – a LinqBindingList<T>. This is still a list containing the query result, but it is like FilteredBindingList or SortedBindingList, in that it is a live view of the original list. So when items are added/removed from “data” in this case, they are also added/removed from the original list. The result is much more what you’d normally expect, especially if you bind the UI to this result.

 

Rocky

 

 

From: vdhant [mailto:cslanet@lhotka.net]
Sent: Wednesday, January 16, 2008 7:01 PM
To: rocky@lhotka.net
Subject: Re: [CSLA .NET] RE: CSLA .NET 3.5 preview release

 

First of all great work...
but i must say you have wet my apatite with "though the C# version doesn't have the coolest parts yet either"... may i ask what plans you have in store.
Thanks
Anthony



Skafa replied on Thursday, January 17, 2008

See this thread for an issue I found Rocky:

http://forums.lhotka.net/forums/thread/20461.aspx

ward0093 replied on Thursday, January 17, 2008

Great News Rocky!  I have to say your framework has saved a ton of time developing as well as creating stardard modules and methodologies for all of us to work off of.  Keep up the great work.

We have a list of upgrades to perform this spring (Infragistics, DevExpress, and of course CSLA)... we would like to plan it around the 3.5 Production Release... do you have a timeframe for that release?

Thanks,
ward0093

RockfordLhotka replied on Thursday, January 17, 2008

I am still shooting for a Jan 25 beta release. Depending on how the beta goes, and how much time I have free given that I’m spending 3 weeks traveling to a client in February, I’d like to think a release at the end of February is possible. Or mid-March maybe.

 

Rocky

 

 

From: ward0093 [mailto:cslanet@lhotka.net]
Sent: Thursday, January 17, 2008 8:18 AM
To: rocky@lhotka.net
Subject: Re: [CSLA .NET] CSLA .NET 3.5 preview release

 

Great News Rocky!  I have to say your framework has saved a ton of time developing as well as creating stardard modules and methodologies for all of us to work off of.  Keep up the great work.

We have a list of upgrades to perform this spring (Infragistics, DevExpress, and of course CSLA)... we would like to plan it around the 3.5 Production Release... do you have a timeframe for that release?

Thanks,
ward0093



Henrik replied on Friday, January 18, 2008

Hi Rocky

 

I took the liberty of translating the new resource strings in CSLA.NET 3.5 Beta into Danish.

 

I've attached the Danish resource file to this mail.

 

Haven't had the chance (time) to try/test the new features in 3.5 yet, but from what I've read on the forum and the change log it looks like I'll be in for a treat.

 

Thank you for a great framework.

 

Best regards

Henrik

RockfordLhotka replied on Friday, January 18, 2008

Thank you Henrik, I appreciate it!!

jfreeman replied on Monday, January 21, 2008

Rocky,

I downloaded the 3.5 preview and noticed the code snippets and templates have not been updated.  Do you know when the new versions will be available?  Thanks.

Jonathan

RockfordLhotka replied on Monday, January 21, 2008

I’m going as fast as I can to get the new features themselves done and tested. That requires updating ProjectTracker to make sure it all works in the (rapidly increasing) combination of scenarios of UI and data portal. Things like the snippets will come next, and to be honest, the templates may not get updated until I get to Chapter 7 in the book (that’s where they are on my critical path).

 

Unfortunately my wife’s grandfather just passed away earlier today, and that will likely mean a delay in the beta release from Jan 25 to sometime later. I don’t yet know enough details to predict the impact, but I’m sure everyone understands that family comes first.

 

Rocky

 

 

From: jfreeman [mailto:cslanet@lhotka.net]
Sent: Monday, January 21, 2008 4:09 PM
To: rocky@lhotka.net
Subject: Re: [CSLA .NET] CSLA .NET 3.5 preview release

 

Rocky,

I downloaded the 3.5 preview and noticed the code snippets and templates have not been updated.  Do you know when the new versions will be available?  Thanks.

Jonathan



jfreeman replied on Monday, January 21, 2008

Rocky,

I'm sorry to hear about your wife's grandfather.  I didn't mean to be pushy.  I was just curious.  In the grand scheme of things, this stuff does not even compare to family matters.  Thanks.

Jonathan

Copyright (c) Marimer LLC