CSLA .NET 3.6 for Silverlight (and Windows) Beta 1 release

CSLA .NET 3.6 for Silverlight (and Windows) Beta 1 release

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


RockfordLhotka posted on Saturday, September 27, 2008

I thought I'd share with everyone that I just released Beta 1 of my CSLA .NET for Silverlight framework (and a corresponding version for Windows).

 

The 3.6 release of CSLA .NET represents a substantial investment by Magenic, and a lot of hard work by a number of my Magenic colleagues, including Sergey Barskiy, Justin Chase, Nermin Dibek, Aaron Erickson, Grant Breems, Chris Williams and Mark Steinberg. The cool new CSLA .NET for Silverlight logo is thanks to Sandy Fougerousse.

 

CSLA .NET is one of the most widely used business application development frameworks for the .NET platform. I expect it will be extremely widely used in Silverlight as well, since it provides even more direct benefits to Silverlight developers! CSLA .NET for Silverlight abstracts many of the complex issues faced when building business applications in Silverlight, and helps provide the same level of productivity and power developers are accustomed to on the .NET platform.

 

You can read an overview here

http://www.lhotka.net/weblog/OverviewOfCSLANET36ForWindowsAndSilverlight.aspx

 

And you can find download links here

http://www.lhotka.net/weblog/CSLANET36ForWindowsAndForSilverlightBeta1Released.aspx

 

To my knowledge, CSLA .NET for Silverlight is the first major framework targeting Silverlight 2.0 to enter the beta phase, and I expect to release the final version of CSLA .NET for Silverlight as Silverlight 2.0 itself is released.

CSLAer replied on Monday, September 29, 2008

Can we have a sample program like project tracker for the Sliverlight? Really confused with all the tesing samples.

sergeyb replied on Tuesday, September 30, 2008

I believe that on download page there is a zip file with sample projects.  They are not as extensive as PT.  However, Rolodex sample project is pretty decent size and it illustrates the most common use – remote data portal.  It has implementation for most common stereotypes – BB, BLB, command base, data provider, synch and asynch business rules, authorization and authentication, etc..  If you would like to look in SVN, you can find it under samples\trunk\CslaLight\cs (or vb).

 

Sergey Barskiy

Principal Consultant

office: 678.405.0687 | mobile: 404.388.1899

cid:_2_0648EA840648E85C001BBCB886257279
Microsoft Worldwide Partner of the Year | Custom Development Solutions, Technical Innovation

 

From: CSLAer [mailto:cslanet@lhotka.net]
Sent: Monday, September 29, 2008 11:36 PM
To: Sergey Barskiy
Subject: Re: [CSLA .NET] CSLA .NET 3.6 for Silverlight (and Windows) Beta 1 release

 

Can we have a sample program like project tracker for the Sliverlight? Really confused with all the tesing samples.

CSLAer replied on Wednesday, October 01, 2008

Thanks for the information. I managed to compile and run Rolodex. The program interface seems a bit odd. It doesn't support 'Tab' to move cursor, I must use mouse to click to input data. Is it by design of Silverlight (Sorry for the dummy question, I'm new to Silverlight) or a bug?

sergeyb replied on Wednesday, October 01, 2008

Do you have RC 0 installed?  I am able to move around with a tab.

 

Sergey Barskiy

Principal Consultant

office: 678.405.0687 | mobile: 404.388.1899

cid:_2_0648EA840648E85C001BBCB886257279
Microsoft Worldwide Partner of the Year | Custom Development Solutions, Technical Innovation

 

From: CSLAer [mailto:cslanet@lhotka.net]
Sent: Wednesday, October 01, 2008 9:36 PM
To: Sergey Barskiy
Subject: Re: [CSLA .NET] RE: CSLA .NET 3.6 for Silverlight (and Windows) Beta 1 release

 

Thanks for the information. I managed to compile and run Rolodex. The program interface seems a bit odd. It doesn't support 'Tab' to move cursor, I must use mouse to click to input data. Is it by design of Silverlight (Sorry for the dummy question, I'm new to Silverlight) or a bug?

CSLAer replied on Thursday, October 02, 2008

Yes, RC0 is installed.

sergeyb replied on Thursday, October 02, 2008

How about developer run time?  The reason I am asking is because that was one of the issues that RC seem to have fixed.  I have seen the behavior you are describing prior to RC 0, but not since (at least not in Rolodex project).

 

Sergey Barskiy

Principal Consultant

office: 678.405.0687 | mobile: 404.388.1899

Magenic ®

Microsoft Worldwide Partner of the Year | Custom Development Solutions, Technical Innovation

 

From: CSLAer [mailto:cslanet@lhotka.net]
Sent: Thursday, October 02, 2008 8:08 AM
To: Sergey Barskiy
Subject: Re: [CSLA .NET] RE: RE: CSLA .NET 3.6 for Silverlight (and Windows) Beta 1 release

 

Yes, RC0 is installed.

CSLAer replied on Thursday, October 02, 2008

I installed RC0 Silverlight Tools for Visual Studio 2008 SP1. It should come with the same version of developer runtime.

RockfordLhotka replied on Thursday, October 02, 2008

I’ve noticed some serious quirks with RC0 – VS crashes, odd UI things, etc.

 

Interestingly enough, they are different quirks on different machines, and I suspect they are related to me uninstalling Beta 2 to install RC0. I didn’t follow exactly the same steps on my different VM instances, and am getting slightly different quirks.

 

What I need to do, and perhaps you do too, is create a fresh OS install (a fresh VM if you are using one) and install RC0 on a clean VS2008SP1 base. Hopefully that fixes the quirks and stability issues.

 

Rocky

ajj3085 replied on Thursday, October 02, 2008

I don't have any of the Silverlight stuff installed, and I'm getting weird crashes, or sometimes VS will just close, but without doing any of the usual stuff.  No crash.. just closes.

RockfordLhotka replied on Thursday, October 02, 2008

You are using the WPF designer though right? I have found that it isn’t terribly stable at all times either.

 

And there’s another recent thread dealing with VS crashing when debugging, which appears to have something to do with the debugger not handling something with generics. The person in that thread was using 3.6 GetProperty/SetProperty syntax with 3.5 and this apparently confused the debugger so badly it crashed. Very strange, but switching to the 3.5 syntax fixed the problem.

 

Rocky

 

 

From: ajj3085 [mailto:cslanet@lhotka.net]
Sent: Thursday, October 02, 2008 11:50 AM
To: rocky@lhotka.net
Subject: Re: [CSLA .NET] RE: RE: RE: RE: CSLA .NET 3.6 for Silverlight (and Windows) Beta 1 release

 

I don't have any of the Silverlight stuff installed, and I'm getting weird crashes, or sometimes VS will just close, but without doing any of the usual stuff.  No crash.. just closes.


ajj3085 replied on Thursday, October 02, 2008

Most of my crashes aren't when interacting with the designer... it's changing code files, or right-clicking a project and choosing Properties (that's the one that typically causes the close without warning).

stefan replied on Monday, October 13, 2008

Hi Andy,

I am 'that one' Rocky mentioned having VS debugger crashes lately.

ajj3085:
Most of my crashes aren't when interacting with the designer... it's changing code files, or right-clicking a project and choosing Properties (that's the one that typically causes the close without warning).


Did you succeed in uncovering the source of your crashes?
I am still having the issue where I cannot debug 'the other side of the DataPortal'.
As soon as I set a breakpoint in code that is running on the logical server side or later,
I get "No source code available for current location", and the debugger closes its session.
This is only happening with one editable root object where I try to use new 3.6 features
(Registered properties with/without backing field, Child DataPortal, OnChildChanged, ...)
I am also using an inhertance chain that is up to 4 levels deep for each involved type.
Other objects work fine as before.

There was a moment where I thought I had resolved the issue (like Rocky indicated),
but that was not the case.

Still struggling.

Stefan

ajj3085 replied on Tuesday, October 14, 2008

No, I haven't been able to figure it out.  It's not consistent at all.

I'm suspecting that the crashes are source control related though; it usually happens when I try to edit a file that's not checked out (and I have it set to check out on edit).  So it could be something with Fortress... but it's just speculation.

As for the quick exit issues... I think if I re-open the solution, then Clean it, close VS myself, and then re-open the solution again, that seems to be the most consistent way to fix that issue.  This quick close though only happens on the settings.settings file and the resources.resx file which appear under the Properties for the project... it seems that those "dual edit" files cause the problem (you can edit via a tab on the project Properties page, or just double clicking the file), even if you're not going to be editing those.

RockfordLhotka replied on Tuesday, October 14, 2008

Sergey has tested Beta 1a with the release of Silverlight 2.0 and it works fine. Microsoft was correct in their assertion that RC0 would be compatible with RTW - yea!

So we are still on track for a Beta 2 release early next week, including the final features of Navigator and perhaps a couple bug fixes.

GA30 replied on Tuesday, October 14, 2008

that is fantastic. you all are great! thanks

 

GA

stefan replied on Tuesday, October 14, 2008

ajj3085:
No, I haven't been able to figure it out.  It's not consistent at all.


That is a very unfortunate situation.Sad [:(]

I just managed to find the solution to my problems: Smile [:)]
I had read that we no longer would need  the GetIdValue override,
so I began removing them every time I came across one...

But I had forgotten that I once had inserted a common GetIdValue override
in one of my base classes, which now became the valid one as I removed
the overrides in the top level classes. The debugger obviously seems to use
GetIdValue to identify the objects, and he got confused as the root object and one of
its children had the same GetIdValue result... and therefore found "no source code available".

Good luck to you

Stefan


sergeyb replied on Thursday, October 02, 2008

I thought I also had to install Silverlight.2.0_Developer.exe, but I could be wrong….

 

Sergey Barskiy

Principal Consultant

office: 678.405.0687 | mobile: 404.388.1899

Magenic ®

Microsoft Worldwide Partner of the Year | Custom Development Solutions, Technical Innovation

 

From: CSLAer [mailto:cslanet@lhotka.net]
Sent: Thursday, October 02, 2008 10:53 AM
To: Sergey Barskiy
Subject: Re: [CSLA .NET] RE: RE: RE: CSLA .NET 3.6 for Silverlight (and Windows) Beta 1 release

 

I installed RC0 Silverlight Tools for Visual Studio 2008 SP1. It should come with the same version of developer runtime.



GA30 replied on Monday, October 13, 2008

Hello everyone!

I believe SL2 will officially be released tomorrow (10-14-08) (http://silverlight.net/blogs/jesseliberty/archive/2008/10/13/silverlight-2-releases-tomorrow.aspx)

I'm wondering approximately how long thereafter will the CSLA Light code base be updated. Thanks again!

zinovate replied on Tuesday, September 30, 2008

Rocky and Co rocked out on some great samples. Check the downloads. There are several that demo several diffrent senarios.

Only comment, I'd like to see Linq in the samples. :)

RockfordLhotka replied on Tuesday, September 30, 2008

LINQ to CSLA or LINQ to SQL?

 

 

From: zinovate [mailto:cslanet@lhotka.net]
Sent: Tuesday, September 30, 2008 10:27 AM
To: rocky@lhotka.net
Subject: Re: [CSLA .NET] CSLA .NET 3.6 for Silverlight (and Windows) Beta 1 release

 

Rocky and Co rocked out on some great samples. Chekc the downloads. There are several that demo several diffrent senarios.

Only comment, I'd like to see Linq in the samples. :)



zinovate replied on Tuesday, September 30, 2008

LINQ2SQL.

Thanks for the additional samples. It's nice to have additional ref apps to look at.

Ben

RockfordLhotka replied on Tuesday, September 30, 2008

The 3.5+ version of ProjectTracker uses LINQ to SQL. The exact same techniques used there will work in 3.6.

 

Rocky

 

 

From: zinovate [mailto:cslanet@lhotka.net]
Sent: Tuesday, September 30, 2008 10:52 AM
To: rocky@lhotka.net
Subject: Re: [CSLA .NET] RE: CSLA .NET 3.6 for Silverlight (and Windows) Beta 1 release

 

LINQ2SQL.

Thanks for the additional samples. It's nice to have additional ref apps to look at.

Ben



RockfordLhotka replied on Tuesday, October 14, 2008

Assuming Microsoft was accurate in their assertion that code running on RC0 will run on RTM, I would say that CSLA Beta 1a will work immediately.
 
If that turns out not to be the case, we'll try to address any issues as rapidly as possible - but I expect it will just work.
 
We are still planning on a Beta 2 release next week, with our RTM around Nov 1 (barring anyone discovering major issues).
 
To be honest, we're at the point now where we have one issue with Csla.Silverlight.Navigator to sort out, otherwise we're entirely relying on this community to use the code and report issues. Otherwise we're ready to release. But I want to give some time for you to have a chance to work with it and report any issues, so I'm not going to bypass the Beta 2 phase (though it will be relatively short).
 
Rocky
 

Copyright (c) Marimer LLC