Tuesday, May 01, 2007
« CSLA .NET 3.0 test release #3 available | Main | CSLA .NET 3.0 test release #4 available »

This week Microsoft fully disclosed their plans for Silverlight. It is not only a way to build rich internet applications (RIAs), but it is a way to build them with .NET! This is very exciting news, and I hope that Microsoft follows through on their vision for Silverlight!!

With the support of Magenic, I've been researching the possibility of creating a CSLA Light which would run in an Internet zone sandbox, and in the even more restrictive Silverlight environment. The Silverlight 1.1 alpha available today doesn't have enough functionality to even come close to hosting something like CSLA, but Microsoft's plan for Silverlight should provide enough functionality to create a stripped down, client only version of CSLA.

That means no data portal, no Clone() method, and the requirement to implement GetState() and SetState() methods to support n-level undo (thanks to no private reflection). But it does mean that I should be able to provide the full validation, authorization, data binding and n-level undo capabilities of CSLA .NET in the CSLA Light version.

I also plan to provide the data portal interface so factory methods can remain consistent, but the back-end implementation will be quite different. (I can't do mobile objects due to no serialization, and I can't do the strongly-typed DP_XYZ calls due to no private reflection). The lack of a real data portal is pretty hard to take, but I haven't figured out a way to do it, so it is probably unavoidable...

I anticipate that around 80% of the code you'd write in a business object today will be the same in CSLA Light, perhaps even more.

Thanks to the compatibility between Silverlight and WPF/.NET itself, there are some other interesting possiblities for CSLA Light. Code written for Silverlight should always run in a less restrictive environment like WPF on Windows, or even XBAP/WPF in a browser. Due to this, CSLA Light will almost certainly work in those settings as well.

In any case, this will be a somewhat slow moving initiative, because I have to wait until Microsoft comes out with a release of Silverlight that supports key WPF features like data binding before I can get too far with the project...


Wednesday, May 02, 2007 7:46:00 AM (Central Standard Time, UTC-06:00)
Is there really an acronym for rich internet applications (RIAs)? I can't take it anymore. It's just too much...
Wednesday, May 02, 2007 8:01:14 AM (Central Standard Time, UTC-06:00)
Yeah, it is terrible. Apparently RIA is something Adobe came up with, but now the industry (media anyway) is kind of stuck on it.

What makes it worse, is that RIAA (recording industry association of america or somesuch) is the evil group running around suing semi-random people for stealing music, and lobbying to destroy our ability to share information over the internet.

RIAA and RIA sound the same when you say it out loud, so every time I hear speakers talking about RIA I cringe, thinking they are about to call in the lawyers...
Friday, May 18, 2007 9:05:55 AM (Central Standard Time, UTC-06:00)
Hello,

To have a unified programming model using CLSA .net to produce Silverlight and "Windows" apllications :

Is it technically possible to produce a Silverligth Enterprise (instead of a Silverligth Home for example) which will cover all the features to work in a nearly complete complete unified model using CLSA .net ?

Thank you
chagny
Friday, May 18, 2007 9:21:48 AM (Central Standard Time, UTC-06:00)
That'd be kind of like taking the existing .NET and adding the zero-touch Silverlight deployment model on top I suppose. It certainly seems like Microsoft could do such a thing if they wanted to.

Though someone would use this in an Internet setting, and Microsoft would get blamed for the huge, gaping security hole "they created" because someone misused the technology...

After all, to get "enterprise" behavior you really need FullTrust (so you can use WCF, reflection, etc), so you'd be creating a zero-touch deployment model for FullTrust code. What a vector for malicious code that would be if it were on the Internet!
Friday, May 25, 2007 8:51:45 AM (Central Standard Time, UTC-06:00)
Hello,

"What a vector for malicious code that would be if it were on the Internet!"
In fact, I don't understand.

and behind that, does it will imply that it is possible to have a full .net inside a browser (a kind of Silverlight Enterprise) but impossible to secure ...

Thank you.
chagny
Saturday, June 16, 2007 10:42:19 PM (Central Standard Time, UTC-06:00)
finally M$ can re-create an applet, and finally CSLA have a chance to be in the mainstream: now winform databinding is really in!
Saturday, June 16, 2007 10:42:44 PM (Central Standard Time, UTC-06:00)
finally M$ can re-create an applet, and finally CSLA have a chance to be in the mainstream: now winform databinding is really in!
Saturday, June 16, 2007 10:44:39 PM (Central Standard Time, UTC-06:00)
finally M$ can re-create an applet, and finally CSLA have a chance to be in the mainstream: now winform databinding is really in!
Comments are closed.