CSLA.Net with .NET Compact Framework 2.0 ?

CSLA.Net with .NET Compact Framework 2.0 ?

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


mickeymouse posted on Tuesday, January 22, 2008

Hello All,

I would like to know if the CLSA.Net framework can use be with the .NET Compact Framework 2.0

Thanks

Target :
The App Client would be running under Windows CE 6.0 & .NET Compact Framework 2.0
The host would be running under Windows server 2003 & .NET Framework 2.0

tmg4340 replied on Tuesday, January 22, 2008

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

mickeymouse replied on Tuesday, January 22, 2008

Thanks Scott,

My idea was to use the mobile object concept between the client app ( Win CE 6.0 & CF Dot Net 2.0) and the host app ( Win Server 2003 & Dot Net 2.0) so apparently it will be not possible because of the serialization restriction under DotNet CF.

The client device app( embedded mini-PC) will be connected all the time to the local network .


Thanks


Teebs replied on Tuesday, February 03, 2009

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.

 

RockfordLhotka replied on Tuesday, February 03, 2009

Lawrence did contribute his implementation, and it is available from http://www.lhotka.net/cslace, and the code is in svn.

I don't want to speak for him, but he may be interested in help maintaining and moving that code forward.

That code is 3.0-based though, and so it is really quite far behind the current code. I expect the field manager and MobileFormatter in 3.6 would make a Compact Framework (CF) version substantially easier to work with now.

In fact, I expect it would be possible to do what we did with the Silverlight version, and link a lot of the core .NET files directly into the CF project to improve maintainability.

My _personal_ plan is to hold off for a few months to see how Microsoft's Silverlight for CE project pans out. If CSLA .NET for Silverlight can just work on mobile devices, that'd be my preference :)

sumit0501 replied on Monday, June 29, 2009

Hi Teebs,

I tried to open your link but failed.
Can you please send me your sample to my personal email id at sumit0501@gmail.com

If possible.

Thanks in advance.

Teebs replied on Friday, July 10, 2009

I've just finished re-writing CslaWm for CSLA 3.6.

RockfordLhotka replied on Friday, July 10, 2009

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.

david.welling replied on Sunday, February 07, 2010

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

lawrencek replied on Wednesday, January 23, 2008

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

 

mickeymouse replied on Wednesday, January 23, 2008

Thanks a lots for the proposition

How can  I get it ?



lawrencek replied on Wednesday, January 23, 2008

Send me an e-mail using the contact feature and I'll email it to you.  I tryed to send one to you but got an error message.

lawrencek replied on Friday, January 25, 2008

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

 

RockfordLhotka replied on Friday, January 25, 2008

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.

sumit0501 replied on Monday, June 29, 2009

Hi Rocky,
I am a big fan of CSLA framework. In my last project I tried to use csla framework and successfully this application is running in production.

This time I want to use cslace framework for one of the mobile app.
But there is no enough documentation and sample implementation.

I need your help in this regard. I want to recommend cslace framework to my organization.

Thanks in advance.

RockfordLhotka replied on Monday, June 29, 2009

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

 

JoeFallon1 replied on Monday, June 29, 2009

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

 

klroach replied on Friday, June 11, 2010

Will CSLA CE work with CSLA 3.5?

 

and do you have a sample project?

Copyright (c) Marimer LLC