.NET vs Mono. What's the difference? [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I've done a bit of reading online and I'm not seeing a straight forward answer to a straight forward question. Is .NET for Windows and Mono for Mac? Maybe my understanding is off but I'm trying to figure out the difference between the two tools. Thanks in advance.

Mono was originally reimplementation of the .NET for linux. Today is much more (http://www.mono-project.com/).
There is actually funny story behind. Miguel De Icaza was working on linux email client and he loved .NET C# so much that we wanted to work with it also on linux. So he rewrite the .NET so he can wrote email client in C#. Wow.
Then mono evolved very very much all lead to the Xamarin platform (.NET cross mobile platform).
You can more read here: https://blogs.msdn.microsoft.com/cesardelatorre/2016/06/27/net-core-1-0-net-framework-xamarin-the-whatand-when-to-use-it/

.NET comes with a runtime environment that runs .NET apps on a windows based OS. It is of course produced and distributed by Microsoft. Mono is an open source version of the that which allows you to do this on Linux, Mac, and even windows.
Conceptually, the runtime seems to operate somewhat like a JRE does, in that, you can take a module built in .NET, and run it in Mono. So, it must be something like byte code that can then be interpreted and compiled to run natively (this last sentence is all speculation).

Related

How to launch Mono? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have downloaded Mono for Windows from This page. And installed it. Since I am very new to this program I even couldn't find how to launch it. All I can see in the start menu are those in the picture. So how can I launch this Mono software?
Mono is a cross-platform implementation of .NET (which you definitely don't need if you are targeting windows)
MonoDevelop is an IDE (integrated development environment) that builds Mono/.NET applications.
You only installed Mono (the framework) and you don't "run" a framework. To get the IDE, go to MonoDevlop. Also, since you are on Windows, I would recommend using Visual Studio (Microsoft's .NET IDE) instead. The express editions are free, and all editions will compile to something Mono would run (you should probably target .NET 4 just to be safe). Many (including myself) consider it to be a far superior product.
I am not sure what do you mean by "launch this Mono software". Mono just provides the runtime environment capable of executing other .net applications. You won't get much benefit from launching mono alone (it is just a command line application) exactly as you won't get much benefit from launching java runtime standalone (which is also just a command line application). However you can use mono to execute .NET applications exactly as you can use java runtime to execute java applications but since you are using Windows you should already have .NET framework installed which does exactly what Mono does - provides the runtime environment for .NET applications.

Is it possible to convert a windows form application (c# , .Net) to a cross platform project? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
What are the possible ways to convert a windows form application (c# , .net) to a cross platform project?
My GOAL is have a project that can run in both Linux base os and windows.
I really like .net but it's not compatible with all OS (for example Linux) because of .Net Framework installation.
what is your suggestions?
As #paqogomez pointed out, IronPython does not take away the need for some sort of .net since, as it's stated on the website http://ironpython.net/ : "IronPython is an excellent addition to the .NET Framework, providing Python developers with the power of the .NET framework."
Since your goal is to run your existing winforms-c#-application on both, windows and linux, you might get away by just using mono (http://www.mono-project.com/).
If this doesn't work out (please refer to http://mono-project.com/Compatibility for compatability issues), you could manually rewrite your existing C# application in pure python. But then, it might well be possible to use any other unmanaged, managed or scripted language which can be used on both systems and which is either easier to translate manually or for which even automated translators exist (however, I don't know if there are any for C#).
Thinking about the last point, I did a quick websearch for "c# cross compiler" which shows some esoteric results which might be interesting for you depending on your project type.

Developing .Net Application on Mac? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I am .Net Developer who started using Mac OS. The only thing that I miss on this system is "VISUAL STUDIO".
I don't wanna use two systems, What do you think in order to develop .Net application
Do you think that I should install Virtual box and use Visual Studio
http://zeus.cs.pacificu.edu/chadd/InstallVisualStudioOnYourMac.html
Or Just use Mono Develop? Is Mono Powerful enough to develop application that is compatible with Windows and run on Mac ?
I am purely .NET developer, but lately also developing iOS applications with using Xamarin (new name for mono libraries) and Xamarin studio (rebranded Monodevelop).
So, if I understand you correctly and you still want to develop .NET applications but just working and "live" in MacOS, the I would say that you have no chances.
Even if consider, that you can have an ability to write code (and even to have some .NET libraries to use even there) in Monodevelop, that's just incomparable, how VisualStudio is amazingly convenient for developer (especially, for native .NET one) and how many plugins it has.
So, from my point of view, there is even no talk: you must use VisualStudio in any case! Even if you use it in Remote Desktop.
UPD: Time flows and things change. Currently .NET is really spread even to Mac. Visual Studio Code been released for coding and Xamarin became available for Free since the answer was asked.
However, one thing will probably never come true: I am doubting Visual Studio will ever be able to migrate from Windows. It will be rather some new product or extending of Visual Studio Code.
Of course you can use Mono to develop an application that is compatible with Windows, although Mono is nowhere near as robust/easy to use/ feature filled as VS.
That said depending on the type of application you plan to develop, it may make sense to install windows in a virtual box so that your application can actually run on your computer.
For example, if you are trying to make a Windows Forms application, your app ( which can be completely developed in Mono, but will not run on the native OS X. This will most likely make debugging a nightmare.
If you're on the fence it might make sense for you to download a 90 day free trial of a windows OS from microsoft, run that in a virtual box and try out visual studio.

What open-source QR Code Generator would you recommend? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm looking for a library to generate QR codes in .NET I've stumbled across a few paid ones, but very few free ones that look any good. Anyone have experience with a good free open-source library?
Thanks
Take a look at this one http://qrcodenet.codeplex.com/
http://code.google.com/p/zxing/ and How To Use ZXing C# Port might answer your question.
I have been using the other port ZXing.Net with some success. According to the website, it has assemblies available for the following platforms:
.Net 2.0, 3.5 and 4.0
Silverlight 4 and 5
Windows Phone 7.0, 7.1 and 8.0
Windows CE
Windows RT
Unity3D (.Net 2.0 built without System.Drawing reference)
Mono for Android
In past I used this one.
It's really "heavy" (about 6MB) but it worked for me and it's released under Code Project Open License (CPOL). I forgot: C# source code is provided.
Another one is MessagingToolKit, which is provided even with a free license; I don't remember (excuse me) if QR is inside free license or not.

Making UI for console application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
How can I make an interface for console applications to make them look like edit.com under Microsoft's operating systems. Target languages are C, C++ and C#.NET.
Have a look at curses:
e.g.:
http://sourceforge.net/projects/curses-sharp/
That would be based on a very simple framework which writes directly to the video to draw the underlying shadows, drop down menus, etc, not alone that, since 'Edit.com` would be written in assembler for speed in relation to drawing, this is quite ancient by today's standards, you can however take a look at PDCurses which will enable you to do this kind of thing.
The neat beauty is, PDCurses is compatible with the unix equivalent of Curses.
But, really, today, it is all about GUI and Windows....
What kind of application are you trying to do?
IIRC, from my old days, there was an object orientated framework for this using TurboVision, which has a port available with open source now, see this wikipedia entry on this TurboVision.
Today, console applications are either old DOS applications emulated more and less in Windows, or command-line interpreters.
Anyway, if you really want to do an editor, use the System.Console class in the System NameSpace and use the SetCursorPosition method to write what you want where you want
The edit.com window you are showing appear to be developed with Turbo Vision, an old console gui library written by Borland many years ago.
Borland put the software in public domain and release its C++ sources. There is also a porting to Pascal, developed by the community, called Free Vision.
Unfortunately ,I don't think there is a porting or a wrapper to dot.net, so you have to write your own. Or, at least, you can look at the sources to get inspired...

Categories