Experiences with Mono
Friday, April 29th, 2005Recently my boss has wanted to make some more sites for our company. He mainly only knows ASP and didn’t want to spend time learning something new. So I suggested we give Mono a try so we could possibly get our sites away from IIS. (ick, i know). It’s been a rough ride but I finally got most of the pieces working together. I decided to try the newest mono version out there (1.1.6) along with the newest version of mod_mono (1.0.8). I had to do a bump in my overlay for mod_mono but everything seems to be working so far.
The biggest hurdle was making a mysql connector work with the version of mysql we were running (4.1.11). Apparently the built-in connector (ByteFX) doesn’t support anything above 4.0.x. Another hurdle was the fact that the official connector from MySql was based on Windows (though, it was written in .Net). To my surprise, when I unpacked the source zip file, the project had a nant build file in it! After some work, I finally got the darn thing to build so I gave the new connector a try. It worked and there was much rejoicing.
Once I clean up the process of building the connector, expect an official mysql connector ebuild for dot-net in the future.
Aside from Mono being spawned from a Microsoft product, I think it has a lot of potential. The biggest complaint I have thus far is their lack of adequate documentation on mod_mono and getting everything working with ASP dot-net. Maybe if I get time I can write a short document on how to get this all working so you don’t have to go through the same headaches as I did.
Hopefully I can finally get my company to using more open source alternatives through using Mono! ![]()