Mono 2.2 and mojoPortal 2.2.8.2-c So Happy Together!

Big Congratulations to the Mono Team for shipping Mono 2.2!

mono 2.2

We've seen growing interest in our support for running mojoPortal on Linux with Mono judging by the increasing forum posts related to it. We try to be very careful as we improve mojoPortal, not to break compatibility with Mono. My testing is usually using the latest Mono built from their svn repository but when a release of Mono comes out I try to also test with the release version since this is what most people are using. Things are progressing rapidly in the Mono project which allowed us not long ago to change our target to the 3.5 version of .NET so that we can begin to dabble in Silverlight, and RESTful web services. Enough of the 3.5 stuff is there in Mono that we can compile and things mostly work but with a few bugs here and there including some bugs in the 3.5 version of Mono's implementation of MS Ajax aka System.Web.Extensions.

Historically I've used my physical openSuse machine to run VMWare server and then I could run the  Mono release virtual machines from there, but after upgrading to openSuse 11.1 I couldn't get my VMWare server to open any virtual machines. So I installed the VMWare Player on my Vista machine this time to test.

mono 2.2 running mojoportal

The Mono 2.2 virtual machine already had mojoPortal 2.2.6.8 installed and it works well and I noticed the ajax stuff worked fine there but in testing mojoPortal 2.2.8.2-b the UpdatePanels were not being updated in the UI and were logging some errors so I figured if I change the references and use the 2.0 .NET version of Ajax aka System.Web.Extensions 1.0 (since thats what mojoPortal 2.2.6.8 uses) maybe I could get the latest mojoPortal working as well as 2.2.6.8 does. And sure enough, after making this change, the latest mojoPortal seems to work very well ajax and all.

So I've packaged up a new mojoPortal 2.2.8.2-c release to work smoothly with the latest Mono 2.2 release. You can even download the source zip and build it an run it using Mono 2.2, the only thing you'll need to do for that is to copy the contents of Web.mono.config into Web.config so it will have the correct references to System.Wen.Extensions 1.0. The mojoportal-2-2-8-2-c-pgsql-for-mono.zip file is pre-compiled and the web.config is already configured for Mono. You can swap out the data layer dlls if you want to use a different db.

I think this is a major milestone for the Mono Project. mojoPortal is a complex application, and the fact that it runs well on Mono 2.2 shows that the Mono 2.0 ASP.NET stack is pretty solid. The 3.5 stuff is coming along but your mileage may vary.

The Visual studio solution and the Windows release packages are still targeting .NET 3.5. Its very handy that we use a separate mojoportal.mds for MonoDevelop even though it could open the Visual Studio solution, it allows us to do things differently on Mono as needed.

In our svn repository, will be changing our MonoDevelop projects back to reference the 3.5 version of System.Web.Extensions so we can keep moving forward and report bugs so they can get fixed in the next version of Mono. So 2.2 Mono users who want to play with the source code should use the .zip download instead of svn, unless you are also working with Mono built from svn as I am.

Other minor changes in 2.2.8.2-c include a new color picker that I mentioned in my previous post and we upgraded from jquery 1.2.6 to 1.3.

Gravatar Joe Audette is the founder of the mojoPortal project and was the primary developer until February 2017.

Comments

Tom

re: Mono 2.2 and mojoPortal 2.2.8.2-c So Happy Together!

Friday, January 16, 2009 3:08:06 PM

Will I need to do a full upgrade?

re: Mono 2.2 and mojoPortal 2.2.8.2-c So Happy Together!

Friday, January 16, 2009 3:10:35 PM

Yes, that would be best.

alkambia

re: Mono 2.2 and mojoPortal 2.2.8.2-c So Happy Together!

Tuesday, February 10, 2009 1:03:56 AM

Sir my name is Alk and im a student of Mindanao State University - General Santos City, mojoportal works well in mono version 1.9 except for forum module. but when I try to upgrade the Mono to the latest version, it destroy the layout in Mojoportal. Can you help me fix this problem?

re: Mono 2.2 and mojoPortal 2.2.8.2-c So Happy Together!

Wednesday, February 25, 2009 9:54:51 AM

I am wondering about url re-writing.   Does mojo-portal use url-rewriting on mono 2.2 as I can't seem to get that to work with apache.    In your testing of mojoportal on mono are you using the xsp2 web server, apache2 or fastcgi??  I am wondering as xsp2 is not recommended for production.

 

re: Mono 2.2 and mojoPortal 2.2.8.2-c So Happy Together!

Wednesday, February 25, 2009 10:10:58 AM

 Hi Bret,

We do use url re-writing in mojoPortal, the re-write happens in .NET code not in mod_rewrite or anything like that.

I have to admit that I test mostly using xsp2. The 2.2 VM of Mono includes mojoPortal 2.2.6.8 already installed and using apache so I "think" it should work with the newest mojoportal as nothing significant that I can think of has chnanged in our re-writing in quite a while.

Hope it helps,

Joe

Comments are closed on this post.