Hi all,
We have discussed the possibility of making CSLA 4.5 run in .NET 4 using the Async Targeting Pack for VS2012 to allow us (and you) to use async/await in VS2012 for applications that target ..NET 4 and SL 5.
I have just finished the work and checked this into the CSLA repository. Meaning that we can now have
CSLA 4.5 for NET 4 Client Profile
CSLA 4.5 for NET 4 Full Profile
If you want to try this - go download the latest source code and build.
The .Net 4 assemblies is placed into their own folder at Csla\Bin\Debug\NET4 or Csla\Bin\Release\NET4
I think it will be nice to use the enhanced DataPortal (Task<T>) and other improvements in CSLA 4.5 also for .NET 4.0 (and SL5) projects.
What do you think?
Although I intend to use CSLA 4.5 on .NET 4.5, I think this is great news for those targetting .NET 4.
Same for me. We will push our customer to upgrade to 4.5. Only if this attempt fail, will we consider "Async Targeting Pack" (as a workaround).
Gilles
I agree this is great. This way we can use async on XP machines. Remember .NET 4.5 does not run on Windows XP! Only Windows 7 and up!
This is also valid for anyone using Windows Server 2003.
.NET 4.5 minimum requirements is Vista SP2 or Windows Server 2008 R2 SP1 (x64) of Windows Server 2008 SP2.
Yes, I think this is the important thing.
People may update their clients to 4.5 faster than their servers, and yet want to run CSLA apps across the data portal between .NET 4.5 clients and .NET 4.0 servers. This way CSLA 4.5 enables that scenario.
It also enables the scenario where organizations don't update to .NET 4.5 in the near future, but where the dev teams still want at least some access to the new async/await features in CSLA 4.5, and this scenario is also enabled.
Copyright (c) Marimer LLC