I want to use UNIX to develop c# applications, does anyone have any
details of compatibility issues? 15 1803
I want to use UNIX to develop c#
applications, does anyone have any
details of compatibility issues?
Does the DotNet framework exist for
Unix? I though it was a project
intended for future, if ever...
--
Regards
Konrad Viltersten
--------------------------------
sleep - a substitute for coffee for the poor
ambition - lack of sense to be lazy
"Logician" <sa***@logician s.comwrote:
I want to use UNIX to develop c# applications, does anyone have any
details of compatibility issues?
If you're using the Mono framework, then I've found that the Windows
Forms support is a bit shaky. Even simple controls can crash
unexpectedly sometimes (with an exception thrown deep within Mono), like
a simple TextBox where I used AppendText and ScrollToCaret to display a
real-time log of actions.
Eq.
K Viltersten wrote:
>I want to use UNIX to develop c# applications, does anyone have any details of compatibility issues?
Does the DotNet framework exist for
Unix? I though it was a project intended for future, if ever...
There is mono.
Arne
Logician wrote:
I want to use UNIX to develop c# applications, does anyone have any
details of compatibility issues?
I assume that you mean using Mono ?
If you just want your apps to run on *nix, then writing
it in C# using Mono should be OK.
If you develop on *nix and want to deploy on both *nix
and Windows then you should also be fine.
(in both cases uses GTK# not Win Forms !)
If you develop on Windows and want to deploy on both *nix
and Windows then you should also be fine, then you will
very likely be headed towards problems.
Especially if you use newer .NET features.
Arne
If you just want your apps to run on *nix,
then writing it in C# using Mono should be
OK. If you develop on *nix and want to
deploy on both *nix and Windows then you
should also be fine.
(in both cases uses GTK# not Win Forms !)
I was under the impression that the new WPF
should be used for all new development,
instead of WinForms. Have i been missinformed?
--
Regards
Konrad Viltersten
--------------------------------
sleep - a substitute for coffee for the poor
ambition - lack of sense to be lazy
K Viltersten wrote:
>If you just want your apps to run on *nix, then writing it in C# using Mono should be OK. If you develop on *nix and want to deploy on both *nix and Windows then you should also be fine.
(in both cases uses GTK# not Win Forms !)
I was under the impression that the new WPF
should be used for all new development, instead of WinForms. Have i been
missinformed?
We can always discuss whether it is "should" or "should consider". But
it is more or less correct.
For MS .NET on Windows. AFAIK then Mono does not offer WPF, so it is
simply not an option for *nix.
Arne
"K Viltersten" <tm**@vilterste n.comwrote:
For MS .NET on Windows. AFAIK then Mono does not offer WPF, so it is
simply not an option for *nix.
That, i didn't know. I guess that i naively assumed once a framework
is released, it does contain (or at least is aimed at containing) att
the parts for all the different paltforms.
Mono isn't part of the Microsoft .NET Framework, though. It's an
alternative framework (but aiming for 100% compatibility) developed by
some free-software guys and sponsored by Novell.
AFAIK, Microsoft doesn't release .NET for non-Windows platforms at all,
but they do publish standards and information so that other people can
port it if they want to.
Eq.
<ch***********@ googlemail.comw rote:
I've had several issues with character encoding.
Eg: using (StreamReader sr = new
StreamReader(da taStream, System.Text.Enc oding.Default))
defaulted to the correct encoding for that specific stream in Windows
(UTF-7 in that case).
It would be a *very* odd installation of Windows which used UTF-7 as
the operating system default encoding.
On *nix it was bugged and I had to specifically
set it to UTF7. There were several _minor_ other things that broke my
code when someone tried to run under *nix.
If you're using Encoding.Defaul t but you actually require a specific
encoding, then it's not the operating system which is buggy, but your
code.
Encoding.Defaul t should *only* be used when you actually require the
operating system's default encoding. I find that's very rarely useful,
personally.
--
Jon Skeet - <sk***@pobox.co m> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
K Viltersten wrote:
>>I was under the impression that the new WPF should be used for all new development, instead of WinForms. Have i been missinformed?
We can always discuss whether it is "should" or "should consider". But it is more or less correct.
Right, "should consider". I agree, it's not always the best choice.
>For MS .NET on Windows. AFAIK then Mono does not offer WPF, so it is simply not an option for *nix.
That, i didn't know. I guess that i naively assumed once a framework is
released, it does
contain (or at least is aimed at containing)
att the parts for all the different paltforms.
MS does not release a .NET for *nix.
They release to Windows and the Mono people start creating
the same classes.
And they have not created much of the 3.x classes yet.
Arne This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mike Kent |
last post by:
I need to deploy a Python app on both SCO Unixware and old SCO Unix
boxes. We freeze the app under Unixware, and set the compatibility
flag ('elfmark -t udk') on the resulting executable. We successfully
did this using Python 1.5.2. Recently, we decided to upgrade the app
to use Python 2.3.2.
Unfortunately, we've just discovered a nasty surprise. Under 2.3.2,
os.path.isdir() returns True on Unixware for an existing directory
(/tmp,...
|
by: john bailo |
last post by:
I just installed mono from ximian on my redHat 9 workstation
and wrote a simple program from the interesting book
ado.net in c# by Mahesh Chand.
mono is fun
( is there ado for linux ? why/why not? )
|
by: Rob Oldfield |
last post by:
Just a quick and hopefully straightforward question.... are there any issues
with web sites based on .Net not working correctly (or at all) for clients
using non IE browsers (Mozilla and Firefox being the two major concerns
obviously)?
Thanks
|
by: Sonny |
last post by:
I need to port a library that is written entirely in C to C++. The
library is supported on quite a few platforms (windows, Solaris,
Linux, AIX, HP-UX, OSX, etc...) and there's quite an existing customer
base that uses it. I need to maintain backwards compatibility such
that existing users won't have to do anything to their existing
applications other than a re-compile when they upgrade to this new
version of the library. I figure that I...
|
by: Eric G |
last post by:
I took my Access 2000 db in to a school last week as a demo.
The V.P.'s notebook was using Access 2003.
Access 2003 complained when it tried to load the .mde file, prompting
for this that and the other before outright refusing to load the file.
Is there any secret I should know about to get around this problem?
I just find it hard to believe that a program written by company M is
deliberately programmed to be incompatible with its own...
| |
by: G2 |
last post by:
Hi
We are dealing with significant browser compatibility issues with Netscape 5.x+ browsers and Mac IE. I am sure most web developers have faced similar issues in the past. Can anyone give me their thoughts on how they were able to address these issues ? Are there any best practices published by MS on how to ensure browser compatibility when coding asp.net
Thanks for any input.
|
by: Calvin KD |
last post by:
Does anyone know if there's any issues involving versions of .Net Framework,
Visual Studio and HTTP which might cause a compatibility problem?
We currently using VS1.1 for our web apps (C#) and the app seems to be up
and and down quite regularly on production and we're not quite sure why. Our
techies told us that because we're (developers) using the wrong version of
http, 1 instead of 1.1, which cause some sort of compatibility issues...
|
by: Dutt |
last post by:
Hi Friends,
In our applications, theres a need to store files in the database.
We, obviously, went for BLOB datatype.
Our front-end technology is " .NET ".
And we r facing compatibility issues with the BLOB datatype.
Could anybody help in this case.(Which datatype shud we hav 2 use to
overcome the compatibility issues.........)
Thanks,
|
by: Pilcrow |
last post by:
Given that UNIX, including networking, is almost entirely coded in C,
how come so many things are almost impossible in ordinary C? Examples:
Network and internet access, access to UNIX interprocess controls and
communication, locale determination, EBCDIC/ASCII discrimination, etc.
Almost all of these are easy in Perl. Why isn't there a mechanism like
perl modules to allow easy extentions for facilities like these? Isn't
anyone working...
|
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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...
|
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,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |