How do I develop .NET apps on Ubuntu?
Solution 1
You can program in .NET on ubuntu too. Well, sort of. There is an open source implementation of the .NET platform available called MONO. MONO apps can run on Ubuntu/Linux, Windows and Mac OS. Look for MonoDevelop in Ubuntu Software Center. Learn more about Mono in Ubuntu.
Another option is Quickly. In my opinion Quickly is better for Ubuntu centric app development. You can code you app and release it to a PPA (launchpad-repository) in minutes. Quickly is also available from Ubuntu Software Center. Get started writing apps with Quickly.
Solution 2
Quickly can help you make cool apps using Python (pretty easy to learn and very popular) quickly!
Solution 3
The Vala language is a programming language very similar to C#. It is still very young, but already has a lot of bindings to existing libraries (for example, GTK). It compiles to native binaries, so your users don't need an additional runtime, as they would for .NET.
See an introduction to Vala for C# programmers.
Solution 4
I see no reason for all these suggestions that you switch application platforms/languages. Use what you're used to and you'll be more productive than having to spend time learning another language.
Monodevelop will give you a better experience of Mono development - its no Visual Studio, but its the best integrated IDE for mono you're gonna get on Ubuntu. Visual design of GTK forms and their controls is a big win (think Winforms but Linux style).
Solution 5
To develop apps specifically for Ubuntu, head to Ubuntu's developer website. Among other things you can:
They have a framework called Quickly.
There are good references in the other answers to Qt and GTK. An interesting source for guidelines is Gnome's developers website.
The framework/IDE to use will depend on the language you use. You can use MS Visual Studio Code on Ubuntu.
Related videos on Youtube
Owais Lone
Updated on September 17, 2022Comments
-
Owais Lone over 1 year
at college we use Microsoft .NET for developing applications. I recently switched to Ubuntu and would like to know similar tools for making apps on/for ubuntu.
-
Nathan Osman almost 14 yearsI would like to strongly urge you to consider learning another language like Python or C / C++. A large number (in fact, probably the majority) of applications in the repository are written in those languages.
-
RAOF almost 14 yearsAlthough it'll be pretty easy to pick up another language it's certainly not necessary or particularly desirable (other than exposure to other programming styles).
-
Mark K Cowan over 8 yearsIf you want to use Linux day-to-day but want to develop C# without the compatibility issues of Mono, consider having a Windows virtual machine in VirtualBox.
-
-
Nathan Osman almost 14 years+1 for answering the question. (Personally I hate mono, but oh well.)
-
McDowell almost 14 yearsyour mono-project.com link points to the Quickly URL
-
RAOF almost 14 yearsYou can use the CLI (.NET) languages and standard libraries just fine - the versions of mono in recent Ubuntu releases support C# 3.0 and (most of) .NET 3.5. You'll want to learn the GTK# UI library, though. System.Winforms & WPF applications will not look native, and WPF is also not fully implemented.
-
codeape almost 14 years+1 for suggesting Python/Quickly. I am a professional Python programmer, and I use Ubuntu on my computer. Ubuntu (and Linux in general) is great for doing Python development.
-
trampster over 13 yearsit you are targeting ubuntu then mono is preinstalled installed and so requires no additional runtime.
-
Evan Plaice over 13 yearsYou'll want to pick up the MonoDevelop IDE. Aside from GUI development (*nix uses GTK# for drag-drop vs Winforms/WPF on windows) development in Ubuntu isn't a whole lot different than development in windows.
-
Mark B over 13 yearsIt looks like that link to Vala for C# doesn't work. Try this one instead, live.gnome.org/Vala/ValaForCSharpProgrammers. There's also one for Java programmers, live.gnome.org/Vala/ValaForJavaProgrammers.
-
Mark over 13 yearsthanks Mark, seems like they have restructured their wiki, I corrected the link in the Answer.
-
dv3500ea about 13 yearsQt works on GNOME
-
user about 13 years@dv3500ea: You didn't get it. QT is used to develop KDE applications, that doesn't mean that applications built by QT won't run on GNOME. The same way GTK applications will run on KDE. But you can't use GTK to build KDE applications
-
dv3500ea about 13 yearsIt's not 'only for KDE platform' though.
-
Owais Lone about 13 yearsQT is not used to build KDE apps. QT is used to build GUIs. KDE uses QT to build it's apps. QT can be used to build GTK apps too.
-
user about 13 yearsI think i am totally lost here. Marked as community wiki. Thanks for your support and patience.
-
Chinmaya B about 9 years@Owais Lone - The links provided in answer are not working please try to renew them or add a substitute
-
Anwar about 7 yearsThe bounty I've started is specifically about dotnet. The answer should very easy. You can even find the relevant updated piece from microsoft website
-
Ramon Suarez about 7 years@Anwar I got confused with the description. It was not clear for me if the idea was to do .Net or develop like with .Net. I answered to the second interpretation
-
Anwar about 7 yearsPlease add more details to that part of the answer. Should include basic installation process
-
Ramon Suarez about 7 years@Anwar Sorry, I don't understand your comment.
-
Anwar about 7 yearsUpvoted. Your MS link has essentially everything I wanted to be included. Can you put the important parts of the link in to the answer?
-
Edward Chan JW about 7 yearsSure, Thanks for the upvoted. Been getting treated really nice here, for second Microsoft Question. As long as Microsoft try to be neutral in their Open Source project, I think Unix should welcome them as well, as Friends as the same with Bash on Windows 10.