CSLA .NET

Vibrant discussion about CSLA .NET and using the framework to build great business applications.

Is there anyone have expirence on mono with CSLA36?

rated by 0 users
Answered (Not Verified) This post has 0 verified answers | 7 Replies | 2 Followers

Not Ranked
4 Posts
kmgbkj posted on Tue, Nov 30 2010 9:07 PM

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?

All Replies

Top 10 Contributor
9,270 Posts

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.

Rocky

Top 10 Contributor
1,770 Posts

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.

Jonny Bekkum, Norway CslaContrib Coordinator

Not Ranked
4 Posts
kmgbkj replied on Thu, Feb 10 2011 7:41 AM

Thanks for your reply .

I will try to portal to moon.

Top 10 Contributor
1,770 Posts

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.

Jonny Bekkum, Norway CslaContrib Coordinator

Top 10 Contributor
9,270 Posts

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.

Rocky

Not Ranked
4 Posts

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.

Top 10 Contributor
3,922 Posts
Answered (Not Verified) Andy replied on Wed, Apr 20 2011 4:47 PM
Suggested by Andy

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

Page 1 of 1 (8 items) | RSS

Copyright (c) 2006-2010 Marimer LLC. All rights reserved.
Email admin@lhotka.net for support.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems