Check this thread:
http://forums.lhotka.net/forums/thread/10836.aspx
It's old, but it should still apply. Basically, you can't use the DP because of the serialization restrictions in CF (which I assume still apply in .NET CF 2.0). That brings in some other issues, some of which are briefly discussed in that thread. There is also a link from someone who developed a CF-compatible version of CSLA. The only hitch is whether the author has kept up with CSLA versions - at the time of this thread, the author mentioned that the version of CSLA he converted was pre-CSLA 2.0. That's pretty old, and may be pre-VS 2005 as well.
HTH
- Scott
I have done this using Compact Framework 2.0. I based my code on CSLA.NET 3.0. & CSLA.CE.
I have full undo edit and object serialisation betwean a Windows Mobile Client and a CSLA WebService. You can download a sample ProjectTracker for WM5 from 'http://unimetsolutions.com/links/business_applications.aspx'. The ProjectTracker sample is not a fully developed program but proves the concept of object serialisation betwean a WM5 Client and CSLA WebService
If you want to take this further please contact me.
Is this a more full-featured port than the cslace version?
Clearly it is more recent, since that one is a 3.0 port.
If you are interested in donating it as the “official”
release we can arrange that.
Rocky
From: Teebs
[mailto:cslanet@lhotka.net]
Sent: Friday, July 10, 2009 3:04 PM
To: rocky@lhotka.net
Subject: Re: [CSLA .NET] CSLA.Net with .NET Compact Framework 2.0 ?
I've just finished re-writing CslaWm for CSLA 3.6.
Hello Teebs,
I'm interested in this work. Would you be willing to make this source available?
My company does a huge amount of mobile development, and this could be a significant time saver.
Thanks
I have a C# version converted from build 3.0.2-070911 but I removed all the Data Portal and Serialization stuff. Basicly runs in local mode only. I also have an embeded pc in an industrial app using this setup.
Let me know if you are interested
Rocky, if I was interested in making the work done on CSLA CE a bit more available how would you recommend I do that. I know that there is a relatively small audience for it and I am not sure if you think it would be worth the effort.
But since I am actively using it I will definitely be maintaining the C# version (can't say for sure about a VB port although I do need to learn VB better)
For sure I need to make a Project Tracker CE. Some better documentation on the removed parts etc.
Anyway just food for thought
Send me an email directly and I'll have you sign a contributor agreement. Then I'll be happy to host the code directly on lhotka.net.
Otherwise sharing of the code in a public venue would violate the license agreement, but we can take care of that easily enough.
CSLA .NET CE was created by a member of the community, which was incredibly generous, but isn't a "supported" part of the CSLA .NET framework overall. Whatever documentation and samples are out there, well, that's all there is.
http://www.lhotka.net/cslanet/faq/CslaCeFaq.ashx
FWIW,
I built a "mobile app" using standard CSLA Business Objects. The "trick" I used was to make it a browser based app so that the mobile device used its built-in browser.
Then it was virtually a standard ASP.Net app except the screens used mobile controls. But the BOs were server side and the rendered html is fine for the app.
Joe
Will CSLA CE work with CSLA 3.5?
and do you have a sample project?
Copyright (c) Marimer LLC