FCHouse A blog about our lives, our passions, our photos

Mono on Mac: a simple installer to open your world to the alternative to Microsoft .Net

This morning I am playing a little bit with my new Mac, and I have installed Mono, in order to test the alternative framework of .Net

MonoThe first thing that I have noticed is that there are no installers for the mod_mono or for the XSP web service, therefore I’ve decided to make only a small test with C#. The installation cannot be easier: just download the Framework DMG, launch the installer and the work is done!

I’ve created a folder for the first test and, like every good developer managing a new environment for the first time, I’ve created a small “Hello World“.

using System;
namespace helloMac{

public class helloMac {

public static void Main ( string[] args ){

Console.WriteLine(”Hello Mac World!”);

}

}

}

Quite easy, isn’t it? Now I will dig into the differences between the original Microsoft .Net framework and Mono, in order to understand the portability of the source code I’ve written.

Another very important point will be to understand how to compile the mod_mono under darwin (mac), because the 99% of my job is web-related. I will probably do it in the next few days, depending on how much spare time I will have!


5 Comments

Ciao Carlo,
vedo che ti stai dando da fare sul tuo nuovo gioiellino. E’ proprio vero: il comfort del Mac mette buon umore e rende più proliferi ;)
Complimenti!
B.

Posted by biagio on 3 December 2006 @ 7am

Ciao Biagio!
ringrazio solo di aver maneggiato linux nei mesi scorsi, perche’ alcuni “How To” che ho trovato in giro per installare alcune cose mi hanno fatto andare fuori di testa… :)
Ma per il resto sono intenzionato a sperimentare un paio di cose.
Ho scoperto darwinports e mi ha aperto il mondo “apt-get” a cui ero abituato su Ubuntu… decisamente non male.
Oggi spero di riuscire a far girare mod_mono, poi mi piacerebbe dare un occhio a Cocoa!

Ciao!!!!

Posted by Carlo on 3 December 2006 @ 1pm

Ciao Carlo,
quando butti gli occhi su Cocoa, fammi un fischio (ci conto) che ho bisogno di conforto/aiuto/sprono per (iniziare a) lavorarci su seriamente. E’ stupendo. Io dovrei iniziare a studiarmi, seriamente, anche Objective-C: ho un po’ di programmi che vorrei “portare” (nel senso di farne il port) under MacOSX, ma il tempo, purtroppo, è sempre poco.
Prova a farti un giretto sulle pagine di Marco Coisson, in particolare su questa e guardati, se non l’hai fatto gia, i tutorials su fink e X11. Per me sono stati illuminanti.

Buon inizio di settimana (gioioso e mac-chevole :) )
B.

PS : il mio iPod-Berlusconi rosso-tinto è in viaggio… mi ha scritto mamma Apple ;)

Posted by biagio on 3 December 2006 @ 10pm

i haven’t had lot of time to play with my mac and my programming tools :-(

Posted by frank on 4 December 2006 @ 10am

Hi Guys!
I have installed mono and I started playing with it, but I had few time… IN the future I will take a look at Cocoa too, but there are things I have to finish before!

Stay tuned! :P

Cheers

Posted by Carlo on 4 December 2006 @ 11am

Leave a Comment

Developing C# under MacOS X iPhone on the go: other rumors!