Results 1 to 10 of 10

Thread: mono for c# programming

  1. #1
    Join Date
    Oct 2012
    Beans
    29

    mono for c# programming

    i've heard about the software mono being able to access the .net framework to allow linux users to compile c# programs.is it any different from visual studio?and is learning c# useful for open source programmers in the long run.

  2. #2
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,971
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: mono for c# programming

    I'm not really a programmer, so I'm a bit out of my realm, but here are the thoughts your questions provoked.
    • Visual Studio is an Integrated Development Environment. I don't think Mono is.
    • C# is a proprietary language. For an open-source programmer, there are probably more useful languages to learn.
    Last edited by newb85; November 16th, 2012 at 11:47 PM. Reason: Rescinded second thought because it is unhelpful and apparently offensive to some programmers.
    Jane, stop this crazy thing!

  3. #3
    Join Date
    Oct 2006
    Location
    /dev/null
    Beans
    1,574
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: mono for c# programming

    Quote Originally Posted by newb85 View Post
    • C# is a proprietary language.
    I'm not sure you know what that word means. C# is a standardized language - both an ISO and ECMA specification
    Understanding is a three-edged sword: Your side, their side, and the truth

  4. #4
    Join Date
    Oct 2006
    Location
    /dev/null
    Beans
    1,574
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: mono for c# programming

    Quote Originally Posted by fr33c0untry View Post
    i've heard about the software mono being able to access the .net framework to allow linux users to compile c# programs.is it any different from visual studio?and is learning c# useful for open source programmers in the long run.
    Mono is just the framework - compiler, class library, and runtime.

    MonoDevelop provides an IDE similar to SharpDevelop on Windows.
    Understanding is a three-edged sword: Your side, their side, and the truth

  5. #5
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,971
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: mono for c# programming

    Quote Originally Posted by directhex View Post
    I'm not sure you know what that word means. C# is a standardized language - both an ISO and ECMA specification
    Proprietary? Yes, I do know what it means. However, it seems I was misinformed about the current state of the language. It was designed by Microsoft. Apparently, that doesn't make a language proprietary.

    As I said, I'm a little out of my realm. Sorry.
    Jane, stop this crazy thing!

  6. #6
    Join Date
    May 2006
    Location
    UK
    Beans
    385
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: mono for c# programming

    The parts which make up C# & .NET ( CLS, CTS & CLR ) are all open standards. MS have openly ask for other languages and platforms to implement to these standards to diversify the spread of .NET right from the start. The standards ave been submitted and accepted by Ecma. The list of languages which can implement .NET is incredible: http://en.wikipedia.org/wiki/List_of_CLI_languages

    It is true that .NET is not FOSS but to say it is a propriety language when mono and DotGNU exist are proof that the standards submitted to Ecma are in place to encourage open adoption of .NET.

    Mono is the .net compiler (using CLS), the CTS, CLR and base libraries which any .net code needs to compile and run. Monodevelop is a IDE or Integrated Development Environment. You could use a simple text editor though an IDE provides not only intellisense, syntax highlighting but also other tools like database integration, refractoring tools, unit testing functionality, code analytic and many many more.

    Over the last 7 or 8 years I have on and off tried monodevelop and codign in c#. I have even taken some of that code into production environments but this was a long time ago and also was a get started exercise before vinishing off in windows and VS. Having downloaded monodevelop and mono recently i was amazed at how far it has come.

    Mono & Monodevelop now support .NET runtimes up to and including .net 4.5. It supports C#5, MVC3, I think Razor viewengine. Though I have only been testing the water I have not had any issues so far. The most noticable were a few MVC HTML helper extension methods missing. This includes throwing as much generics and Linq at it as I can and also Entity is also now supported.

    The extensability of .net under linux is huge. MySQL, Oracle & Sqllite all have ADO.NET Data providers allowing agnostic access database access. I have used ninject, and rhinomocks .net dlls without any hitch proving that .net is pretty much a system agnostic development and runtime and environment.

    I understand that people under Linux are scared of MS though if you look at the MS acceptance of how bad ASP.NET Web Forms was as a technology, how right Ruby was and how now they have embraced MVC developing an fully open source and extensible ASP.NET MVC framework MS are clearly making steps in the right direction.

    I have a blog about my .NET exploits under Linux which you might like to read. These are not for newbie programmers but .net developers who want to progress their development skills in a linux environment. BTW I use solely MS at work and solely Linux at home. The closest i come to Linux at home is XP on Virtual box and that is only because remoting into work on a Java client is too painful. Hard fact to learn in life now matter what your choices are you need to work where the jobs. I don't know many Linux fans who openly refuse to work in any companies which use MS products.

    You can read my blog here http://lukewickstead.wordpress.com

    Ohh and no I don't work for MS nor do I want code in their platforms however I have to on a daily basis. Mono and Monodevelop allow me to progress the skills I need in my job inside Linux which makes me happy and to me above all the reason why I use and love Linux the main one is that it is right for me and makes me happy.
    Last edited by lukew; November 16th, 2012 at 02:53 PM.
    Registered Linux User #219690 @ Linux Counter, http://counter.li.org.

  7. #7
    Join Date
    Jan 2011
    Beans
    1,151

    Re: mono for c# programming

    I am not a C# developer so i cannot give a better answer than the poster above

    Here is the website for compatibility status

    http://www.mono-project.com/Compatibility

    I not sure of the status for mono, but crazy richard stallmen always called the head developer a microsoft apologist
    http://www.osnews.com/story/22225/RM...are_Community/
    http://en.wikipedia.org/wiki/Miguel_de_Icaza
    http://www.tirania.org/blog/
    (\ /)
    (O.o)
    (> <)
    This is Bunny. Copy Bunny into your signature to help him on his way to world domination.

  8. #8
    Join Date
    May 2006
    Location
    UK
    Beans
    385
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: mono for c# programming

    Quote Originally Posted by idoitprone View Post
    I am not a C# developer so i cannot give a better answer than the poster above

    Here is the website for compatibility status

    http://www.mono-project.com/Compatibility

    I not sure of the status for mono, but crazy richard stallmen always called the head developer a microsoft apologist
    http://www.osnews.com/story/22225/RM...are_Community/
    http://en.wikipedia.org/wiki/Miguel_de_Icaza
    http://www.tirania.org/blog/
    thanks for the links, the mono compatibility one is very useful.

    Just to put things into perspective. I am not saying everyone should rush out, download and start coding Linux in .net. I am just saying there is a good career path to be made with .net due to the volume of jobs especially in ASP.NET, MVC & WCF and you can learn these skills and potentially write production code in these technologies on Linux.

    However if you are a newbie programmer then starting off in Python or Perl could also be a good starting point. Every language has the basic constructs and API call. All skills you learn in one language would be useful in all others.
    Registered Linux User #219690 @ Linux Counter, http://counter.li.org.

  9. #9
    Join Date
    Jan 2011
    Beans
    1,151

    Re: mono for c# programming

    Quote Originally Posted by lukew View Post
    thanks for the links, the mono compatibility one is very useful.

    Just to put things into perspective. I am not saying everyone should rush out, download and start coding Linux in .net. I am just saying there is a good career path to be made with .net due to the volume of jobs especially in ASP.NET, MVC & WCF and you can learn these skills and potentially write production code in these technologies on Linux.

    However if you are a newbie programmer then starting off in Python or Perl could also be a good starting point. Every language has the basic constructs and API call. All skills you learn in one language would be useful in all others.
    Many distro have .net installed since programs such as banshee i believe uses c#
    (\ /)
    (O.o)
    (> <)
    This is Bunny. Copy Bunny into your signature to help him on his way to world domination.

  10. #10
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,971
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: mono for c# programming

    Quote Originally Posted by idoitprone View Post
    ...since programs such as banshee i believe uses c#
    Indeed, banshee uses mono. I recall hearing that was one of the reasons Canonical dropped banshee for rhythmbox, but then, I didn't specifically hear that reason from Canonical, and I know there were a few more practical reasons for dropping it. So, mono may have had nothing to do with that decision.
    Jane, stop this crazy thing!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •