Is there anyone have expirence on mono with CSLA36?

Is there anyone have expirence on mono with CSLA36?

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


kmgbkj posted on Tuesday, November 30, 2010

In the few days,I have a task to portal sevice to Linux from Windows ,but i do't kwon how to do it,and wonder if mono could support clsa.net?

The whole project have three parts,Client (Winform Client ,run on Windows),Service(want to portal to Linux upon mono),DataBaseServer(PostgreSql ,run on Linux ). and now the problem is Clsa.net can run on Mono ?

I do not need all the featuer of Csla.net ,etc. binding ....;but just the DTO ?

 

Anyone can give help or suggestion?

RockfordLhotka replied on Thursday, December 02, 2010

I haven't tried, but I don't think so without some work.

Your best bet is probably to use CSLA 4, because the core Csla.dll won't have much functionality not available in mono.

Unfortunately CSLA 4 probably uses some .NET 4 features that aren't yet in mono...

In other words, I'm sure it can be done, but you'll have to do some work.

JonnyBee replied on Thursday, December 02, 2010

Hi,

Will you find a supported version of Csla on Mono? - No.

But since you are asking specifically about Csla 3.6 you may also look at the Csla 3.6 N2 (for .NET 2.0). This version compiles and runs on .NET 2.0 so it shouldn't be too difficult to make it compile and run on Mono.

You'd have to remove LinqBridge and all classes that reference EnterpriseServcies and ServicedDataPortal (COM based classes),

Having done that I am left with 11 TODO's according to MoMA (Mono Migration Analyzer) having to do with:
* MethodCaller (not implement methods in Reflection and ILGenerator in Mono)
* ConfigurationManager.ConnctionStrings

These shouldn't be too hard to fix and you'd be running on Mono.

kmgbkj replied on Thursday, February 10, 2011

Thanks for your reply .

I will try to portal to moon.

JonnyBee replied on Thursday, February 10, 2011

I have Csla 4.1 compiled for Mono 2.8.2 on OpenSUSE 11.3 and it was quite easy to get up and running. 

I've tried a couple of the Windows samples but DataBinding was not working correct in Mono.

I hope ASP.NET MVC and ASP.NET web apps will work properly but haven't found time to test properly yet.

RockfordLhotka replied on Thursday, February 10, 2011

I am far less worried about working against the WinForms port to mono than I am with ASP.NET and gtk#.

I can't imagine a whole lot of Linux devs are eagerly writing WinForms apps for Linux :)  I suspect they are more attracted to gtk# because it provides a more Linux-like result.

kmgbkj replied on Thursday, April 07, 2011

Thanks all,your suggestions are useful , I was't trying port Winform to run on Linux, only port the server  side  code (WCF or WebService) could run properly, windows server has a big cost,my client did not want to pay more,so I had to find solution.

ajj3085 replied on Wednesday, April 20, 2011

I'd have your client look at one of the Web editions of Windows Server. If your use will fit within its license terms, the cost of the Windows license should be fairly trivial (less than $500 USD).  http://www.microsoft.com/windowsserver2008/en/us/pricing.aspx

Copyright (c) Marimer LLC