Developing ASP.NET Application in MONO under Linux

Today, I was playing with my new install of Linux. I installed Mono in it… (for those who don’t know what is MONO, is a cross platform IDE that can be used to develop .NET application in any environment) .. With my past encounters with Mono, I know that it is sort of complicated to make Mono work properly and you need to configure it specifically to work without glitch 🙂 … but with this newer Ubuntu 11.04, the process was way too simple.

During installation from "Ubuntu Software Center" I can select which add-on I want to install with Mono and everything will be configured automatically !! So only user intervention is just to select which add-on they want. Once you are done with installation you can fire up the application and start coding right away. Well, it is other case if you are way too much habituated with drag ‘n drop Visual Studio environment then you will find it a bit difficult to work with Mono since it doesn’t have VS like rich UI. But I say, it is way better then what you can get in Linux.

Sample Code:

<form id="form1" runat="server">

<asp:Button id="Button" runat="server" Text="MONO" OnClick="Button_Click"/>

<asp:Label id="Label" runat="server" Text=""/>


protected void Button_Click (object sender, EventArgs e)


Label.Text = "Hello Mono !!";


I guess this is one more reason to use Linux 🙂 …

That’s it for now ….

Gaurang Sign

Leave a Reply

Your email address will not be published. Required fields are marked *