Andrew Stopford's Weblog

poobah

News

Articles

Family

Old Blogs

Running Mono on Ubuntu

It's quite odd to feel new to something that I use everyday :) but using Mono on Ubuntu for .NET development does feel like that. I have only just started using Linux again and Ubuntu just keeps amazing me in terms of ease of use for users coming from the windows world but also (in true Linux style) the ability to get into the depths of it. Installing Mono is a breeze via a generic Linux installer and I am having a blast playing with MonoDevelop, I'll post up more later.
Posted: Feb 07 2007, 10:39 AM by andrewstopford | with 26 comment(s)
Filed under: ,

Comments

Wim Hollebrandse said:

Hmm - yes, having fun with that too. And installed XGL and Beryl, as well as kiba-dock. Very slick.

No luck getting the ASPNet addin to work in MonoDevelop though.

# February 7, 2007 11:43 AM

hammett said:

I've tried a dozen times to install XGL but it just doesn't work with my NVidia board. The screenshots and videos are awesome!

# February 7, 2007 9:09 PM

Dee said:

Unfortunately mono doesn't support VB, so it is undesireable for use in ASP.net which should always use the VB language for web development.  

C# is intended for desktop developers who are unable to convert from C++

# February 9, 2007 2:03 PM

Jonathan Allen said:

The VB 8 compiler is running on Mono now. I don't know how complete it is, machines running Linux are hard to come by in my neck of the woods.

http://www.infoq.com/news/2007/01/VB-Mono

# February 9, 2007 4:13 PM

William said:

Dee:

Huh?  First, Mono does have a VB.NET compiler.  The VB.NET runtime wasn't complete last time I looked, but it's not that bad off.

More importantly, though, where the heck did you get the idea that C# was meant only for the desktop and for developers "unable to convert from C++", what ever that means?  VB is no more suited for web development than C# is, and I know many a web developer who prefer it.  From a technical stand point, neither has anything over the other for this problem domain.

# February 9, 2007 4:43 PM

Dee said:

it doesn't quite run VB....

http://tirania.org/blog/archive/2007/Jan-09.html

"Although binaries compiled with Microsoft's VB.NET compiler would run unmodified on Linux, it was not possible to use VB code in ASP.NET applications (as those get compiled on the first page hit) or if developers wanted to debug and tune up a few things on their target Linux/OSX machine."

# February 10, 2007 10:53 AM

John Sampson said:

C# is well suited for web development.

Personally, I can't use VB.NET (VB in general). It just doesn't feel like a real programming language.

# February 18, 2007 3:14 PM

me said:

yes, c# can indeed be used (and is prefferable in my opinion) in mono for web development,  dee, it would be interesting to know where you got this "information" about c# only being used by desktop developers, as c++ is totally different to c#, c++.net is the .net equivalent

ok my question is , would anyone know a workaround to debug asp.net apps in mono, i know in windows you can use the dgbclr and attach it to the asp.net process, is there any hacky way that one can tell mono to attach to another thread?

# August 15, 2007 7:23 AM

Minyie Diaz said:

How did you managed to run it? I installed it but monodevelop just doesnt run :( cannnot load gtk# and others.. :(

# August 23, 2007 4:13 PM

cyberprunes said:

Dee, Aside from VB having an overly verbose and bloated syntax (IMO) it is no more or less suited than any .NET language for desktop or web dev.

# January 14, 2008 3:41 PM

JayBny said:

was an C++ Guru ... am now in C#/.Net .. but will soon have to go back to Ubuntu/C++..

i'm dreading C++ syntax... what do i do?

Python

Ruby

Mono/C#

Mono/Manage C++ (does it exist)

Make/vi/C++

Mac-Pro-10? with dual OSs + Ubuntu??? hmmm maybe yes!

# June 9, 2008 8:05 PM

Scott in Tampa said:

What is this VB is better than C# crap? Let me tell you my story. I was using the VB6 IDE and wanted to learn about .NET for creating database applications. I went to Borders and they didn't have a VB.NET book, so I bought the C# book instead. I have MySQL and Apache running on a Ubuntu server. I am writing database applications with C# on a Win XP client through a Samba LAN. I actually prefer C#. Now I am interested in ASP.NET on a Linux box.

# June 12, 2008 11:48 PM

Dee said:

Sorry guys, VB is in no way superior to C#/C++.net.

realizing my poor programming skills, I am off to commit suicide.

# June 13, 2008 5:04 PM

stan4th said:

Hi,

could you tell me which Mono download I need for ubuntu 8?

Cheers

# October 11, 2008 12:55 PM

Todd said:

Dee: C# was developed from the ground up specifically for .NET. VB.NET is only there for VB users who can't move on, and for hobbyist programmers who find the BASIC language base easier to read.

The language is constructed to best suit the object oriented nature of .NET, as well as generics and deep .NET functionality like object pinning (with fixed statement).

C# is also a standardized language specification (by ECMA I think).

# October 30, 2008 5:39 PM

navajo joe said:

dee, vb should just die, period.

# November 20, 2008 12:58 PM

purpleblob said:

"Unfortunately mono doesn't support VB, so it is undesireable for use in ASP.net which should always use the VB language for web development."

Without doubt, that's one of the funniest statements I've read in a long time.

# December 26, 2008 5:06 PM

dave said:

hmmm   may be a bit late in the day, but iwas ASP programmer, then moved to VB.net and now i do C# .net, i wouldent say VB.net is bad, i would just say C# is easier and better with regards to tools like reSharper etc that you cant really get as good with VB.net, other than that my classes are virtually the same in VB as they are in C# but the syntax is a little different?  LOL it is the age old argument that i can actually argue, most people that diss VB are the ones that can only cope with one language! ;-)

# January 24, 2009 8:29 PM

nando said:

Listen to yourselves, arguing over which is superior between C# and VB.NET.  They compile to nearly the same code.   Performance differences are not dramatic in the least, with the exception of using un-managed code in C#.

Making fun of a vb.net is simple elitism.  If a person learned vb6 or lower and they are more comfortable with vb.net than C#, then let it be.  VB.Net is far more capable than it's predecessor vb6 and deserves to have shaken off the negative stigma.

# January 29, 2009 2:40 PM

Ravi Kumar said:

I think there are no any difference and easy dipent on our work.i you are doing work on vb the that way vb is easy for you.if your consept is cear the syntax is not big deal to learn any thing else.

# February 24, 2009 11:50 PM

Tabliopa Underwood said:

Dave said "most people that diss VB are the ones that can only cope with one language! ;-)"

they called monolinguists =p =)

# March 5, 2009 6:58 AM

aabruzzese said:

Oh my,

I come here to check out the possibility of using .NET on UBUNTU and look what I find!

 Ha it seems that the old Your Mama Codes in VB and my Grandmother forget more about BASIC than your Mama will ever know is still going strong.

Come on get with it, coding is coding is coding to be honest heck I would prefer writing my web applications in Cobol!

Now try that one on for size.

:)

# March 6, 2009 1:04 PM

ShortFuse said:

Sad. You guys think VB.NET is a shiny VB6 when it's not.

Having used Java, C, C++, C#, VB6 and VB.NET I have to say, VB.NET is more time coding and less time with syntax. People who say VB.NET has bloated syntax have obviously never used it are are thinking VB6. Also,

Even to this day, with .NET 2008, the VS IDE handles mistakes in VB better than in C#. The case sensitivity gets annoying. Also, VB code is a lot easier to read, especially when you have to deal with somebody else's code. The only time I use C# is when I know I'll be sharing code with people stuck in C++. Everything you can do in C# you can do in VB. The only thing is that sometimes you have to use the Marshal class when using pointers in VB.NET

But yeah, VB6 was garbage. But we're not talking about VB6, are we?

# March 10, 2009 6:50 PM

Daniklad said:

Right on the spot. VB.NET is very fast to code since it's built on the natural language which keyboards were designed for. So basically you could argue that keyboards were designed for programming Basic. It wouldn't be true, but you could.

But it's also true that whenever I need that little extra performance for graphics and games I turn to C#.

If you'll excuse me I'm gonna go dive into some F# and see what funtional programming can provide me :)

Keep an open mind guys!

# April 24, 2009 1:29 PM

Peter Bailey said:

How about using IronPython. That's what I am going to try. If I have to use a MS inspired framework, at least I can try to use a beautiful dynamic language. (sheds a tear as he leave his Mac for Django dev later :-). Nice framework, nice ORM.

# May 6, 2009 3:45 PM

John said:

I am interested how successful people are using Mono in an Ubuntu world. I love ubuntu, and Netbeans/Eclipse.

I want to move to a Mono environment because I like some of the .net features, but I don't want to move to WIndows again. I like windows, I use it everyday, my preference is Linux (using it for almost 18yrs now, and 100% @ home for many yrs).

In terms of VB/C# arguement.. is compiles down to the same 'bytecode' so it really does come down to preference. As far as the IDE and editors, they are just tools used to aid the user (programmer)... I would more than likely use Mono (maybe sharpDevelop/monoDevelop) with nAnt, something like CruiseControl and either svn or git and more than likely vi (if I don't use ant IDE). These are my preference that suite my style and ways of doing things... this is one of the great pluses of Linux :-the flexibility of choice.

if anyone has one and serious Mono development using the likes of Ubuntu I would be glad to read your posts!!!

# May 11, 2009 8:00 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)