Saturday 9 June 2007

Mono is maturing!

I have a simple .Net 2.0 project on the go at the moment that uses a web application project, a web service application project, the MySql connector and some C# class libraries that take advantage of generics. I decided to give MonoDevelop another whirl and have been pleasantly surprised with the results.

Importing the sln and csproj files works but you lose the debug automation. It's just a case of some missing lines in the project files but I opted to create a blank mds solution and associated mdp projects using the MonoDevelop templates. The result is that running a debug fires up xsp2 so that you can see your web and web service output.

There's a minor glitch in mono-xsp2 for Debian and Ubuntu where the preinstall script run by the package manager barfs on a syntax error. I had to open up the deb and fix the script, repackage and reinstall with dpkg. I would upload my fixed deb, but I reckon it'll be fixed upstream before anyone else notices. I found the information to do this at these url's: maebmij.org/~jim/ synthesize.us

The result of this bit of phaffing is that it's rather simple to create multi platform web projects in .Net without a great deal of dependency installs. Yay for mono!

The code and solutions I've mentioned here are available at: http://code.google.com/p/nimble/