I want to use UNIX to develop c# applications, does anyone have any
details of compatibility issues? 15 1776
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***@logicians.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
I've had several issues with character encoding.
Eg: using (StreamReader sr = new
StreamReader(dataStream, System.Text.Encoding.Default))
defaulted to the correct encoding for that specific stream in Windows
(UTF-7 in that case). 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.
>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.
--
Regards
Konrad Viltersten
--------------------------------
sleep - a substitute for coffee for the poor
ambition - lack of sense to be lazy
"K Viltersten" <tm**@viltersten.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.comwrote:
I've had several issues with character encoding.
Eg: using (StreamReader sr = new
StreamReader(dataStream, System.Text.Encoding.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.Default but you actually require a specific
encoding, then it's not the operating system which is buggy, but your
code.
Encoding.Default 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.com> 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 ch***********@googlemail.com wrote:
I've had several issues with character encoding.
Eg: using (StreamReader sr = new
StreamReader(dataStream, System.Text.Encoding.Default))
defaulted to the correct encoding for that specific stream in Windows
(UTF-7 in that case). 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.
http://msdn2.microsoft.com/en-us/lib...g.default.aspx
says:
#Caution:
#
#Different operating systems might use different encodings as the
#default. Therefore, data streamed from one operating system to another
#might be translated incorrectly.
I guess they meant it !
Arne
>>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.
Got it. Thanks!
--
Regards
Konrad Viltersten
--------------------------------
sleep - a substitute for coffee for the poor
ambition - lack of sense to be lazy
On Apr 27, 3:13*pm, "K Viltersten" <t...@viltersten.comwrote:
I want to useUNIXto develop c#
applications, does anyone have any
details of compatibility issues?
Does the DotNet framework exist forUnix? 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
My intention was to use UNIX to use the greater power of UNIX.
Is there some way to improve .NET/C# performance when running high CPU
usage programs?Windows is so slow and limited that the machine slows
down.
Logician wrote:
Is there some way to improve .NET/C# performance when running high CPU
usage programs?Windows is so slow and limited that the machine slows
down.
Only if poorly managed like with a ton of malware.
No OS uses significant CPU by itself when configured properly.
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...
|
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 ? ...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
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...
| |