473,604 Members | 2,487 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

:NET/C# GUI portability to Linux

I need to write a Windows application with GUI, that should be able to
run also on Linux. I have already a .NET application (written in C#)
that uses (among others) Windows.Forms, ADO.NET, and TCP/IP (sockets).
Which is the best way to get it running under Linux ?
I read about Mono, would this be a reliable way ? Is Mono already
"production-ready", or still beta ? Are the .NET parts that I mentioned
above already completely implemented in Mono ? Does anyone has some
practical experience about this ?
On the other hand, I read also about the Qt graphical package, that is
available for Windows and also for Linux. If I choose this way, it would
mean that I have to rewrite my actual Windows application. I would take
this in account, if this would be the most reliable solution. Is Qt also
available for C#, or only for C/C++ ?
Can somebody help me with some advice ? Which way would be better
supported in the future ? Which way would allow easier software
development/test on both platforms ?
I mention that I dont have practical experience with Linux.
Thanks in advance for your help.
Abra

*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #1
4 2674

"Abra" <no****@devdex. com> schreef in bericht
news:%2******** *******@TK2MSFT NGP10.phx.gbl.. .
I need to write a Windows application with GUI, that should be able to
run also on Linux. I have already a .NET application (written in C#)


I got the same question about a C++ program written in MSVC. I've looked in
google and there seems to be a sort of windows api written for linux by
microsoft. But I don't know if that works for the .NET applications.
Nov 17 '05 #2
Hi ,

If you need a good, stable interoperatibil ity between win & *nix you better
go the web way, that is the best way.

there is no managed interface of Qt AFAIK at least.

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Abra" <no****@devdex. com> wrote in message
news:%2******** *******@TK2MSFT NGP10.phx.gbl.. .
I need to write a Windows application with GUI, that should be able to
run also on Linux. I have already a .NET application (written in C#)
that uses (among others) Windows.Forms, ADO.NET, and TCP/IP (sockets).
Which is the best way to get it running under Linux ?
I read about Mono, would this be a reliable way ? Is Mono already
"production-ready", or still beta ? Are the .NET parts that I mentioned
above already completely implemented in Mono ? Does anyone has some
practical experience about this ?
On the other hand, I read also about the Qt graphical package, that is
available for Windows and also for Linux. If I choose this way, it would
mean that I have to rewrite my actual Windows application. I would take
this in account, if this would be the most reliable solution. Is Qt also
available for C#, or only for C/C++ ?
Can somebody help me with some advice ? Which way would be better
supported in the future ? Which way would allow easier software
development/test on both platforms ?
I mention that I dont have practical experience with Linux.
Thanks in advance for your help.
Abra

*** Sent via Developersdex http://www.developersdex.com ***

Nov 17 '05 #3
Hi
I need to write a Windows application with GUI, that should be able to
run also on Linux. I have already a .NET application (written in C#)
that uses (among others) Windows.Forms, ADO.NET, and TCP/IP (sockets).
Which is the best way to get it running under Linux ?
I read about Mono, would this be a reliable way ? Is Mono already
"production-ready", or still beta ? Are the .NET parts that I mentioned
above already completely implemented in Mono ? Does anyone has some
practical experience about this ?
Status of ADO.NET in Mono: http://www.mono-project.com/ADO.NET
Status of Windows.Forms in Mono: http://www.mono-project.com/Windows_Forms

and this will get you to the class library with a status on each class:
http://www.go-mono.com/docs/

Neither of these 3 is feature complete, but depending on what classes and
methods you use, you'll be fine. It is production ready, as long as you
don't use any class that's not ready yet.
On the other hand, I read also about the Qt graphical package, that is
available for Windows and also for Linux. If I choose this way, it would
mean that I have to rewrite my actual Windows application. I would take
this in account, if this would be the most reliable solution. Is Qt also
available for C#, or only for C/C++ ?


Qt is native code, not managed. Using QT3 you'd have a stable and trusted
class library, but I'm not sure about IDEs that support it on Windows
(there's bound to be a bunch for Linux).

Personally I find the prospect of running C# on Linux intrigueing and with
Novell behind Mono I'd expect that the platform has a good future, but at
this moment, you cannot rely on every of your used classes to be 100%
complete in Mono.

Regards
Stephan
Nov 17 '05 #4
emr
Mono is not ready maybe for future, use the web way i agree that its the
best way.
Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2146
by: Google Mike | last post by:
No, this isn't what you thought the subject of this post meant. It's better. I just wanted to share with you something I did that makes editing PHP and carrying your projects back and forth a little easier. (That's what I mean by portability in this case.) I often go between my day job and my home, carrying code. I used to either email it to myself and pick it up, or FTP it to my website, or risk everything and put it on a floppy....
5
3691
by: Nick Mudge | last post by:
I have PHP 4 running as a module on windows XP, I also have MySQL and Apache 2 running on windows XP. If I write a big website on my computer that has XP and I use PHP, MySQL and Apache 2, and HTML and Javascript to write my web site, how hard will it be to transfere my whole website from my home computer to a hosting company that I find on the web. Does anybody know how hard the portability issue would be? Are there a lot of...
7
1614
by: fabio de francesco | last post by:
Hi, I'm not a professional programmer, but I've been writing C/C++ and Ada programs for a few years on GNU/Linux without ever concerning on standards and portability to other OSs. I've always noted that when I write code I must use lots of platform specific system calls (POSIX and X/OPEN). Often I found myself using threads and concurrent processes with some sort of IPC. Some time I need some socket API. When I just want to open a...
93
3603
by: roman ziak | last post by:
I just read couple articles on this group and it keeps amazing me how the portability is used as strong argument for language cleanliness. In my opinion, porting the program (so you just take the source code and recompile) is a myth started 20-30 years ago when world consisted of UNIX systems. Well, world does not consist of UNIX systems anymore, but there are 100s of different systems running in cell-phones, DVD players, game consoles...
17
1435
by: bob | last post by:
Is there any way to create a Csharp Console application that does not require the user to have the .NET framework installed?
16
1621
by: Rob R. Ainscough | last post by:
Or for that matter any version of .NET framework? What I find ironic is the push for "portability and flexibility" yet I don't actually see it in the real world. Is anyone (not just Microsoft) actually working on a .NET framework for anything other than Windows platforms? If so, where can I get it and/or when will it be available? Rob.
93
3921
by: jacob navia | last post by:
In this group there is a bunch of people that call themselves 'regulars' that insist in something called "portability". Portability for them means the least common denominator. Write your code so that it will compile in all old and broken compilers, preferably in such a fashion that it can be moved with no effort from the embedded system in the coffe machine to the 64 bit processor in your desktop.
239
10159
by: Eigenvector | last post by:
My question is more generic, but it involves what I consider ANSI standard C and portability. I happen to be a system admin for multiple platforms and as such a lot of the applications that my users request are a part of the OpenSource community. Many if not most of those applications strongly require the presence of the GNU compiling suite to work properly. My assumption is that this is due to the author/s creating the applications...
0
3656
by: shamirza | last post by:
· When was .NET announced? Bill Gates delivered a keynote at Forum 2000, held June 22, 2000, outlining the .NET 'vision'. The July 2000 PDC had a number of sessions on .NET technology, and delegates were given CDs containing a pre-release version of the .NET framework/SDK and Visual Studio.NET. · When was the first version of .NET released? The final version of the 1.0 SDK and runtime was made publicly available around 6pm PST on...
0
7997
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7929
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8409
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8065
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8280
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
3907
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3955
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1526
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1266
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.