Sign in to follow this  

[.net] c# and GDI+

This topic is 4846 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Microsoft only released .NET for Windows, Mono (www.mono-project.com) is an open source implementation of .NET.

Mono is very useable and complete for web / ASP.NET development, but for Forms programming their are still things missing. Mono also provides many classes to access features microsoft didn't include (primarily features of standard open source libraries that microsoft doesn't use). Gtk+ is the library that Gnome using on Linux and Mono also has a .NET library for writing desktop programs using it through a wrapper (GTK# I think).

Mono works on Windows, Linux, FreeBSD (I think), and MacOS X.

Share this post


Link to post
Share on other sites
*sigh* Actually, Microsoft didn't just release it for windows...
Rotor is a complete port of the CLI and C# specs. It includes most of the libraries as well.

GDI+ Is windows specific, you will need to use somthing like Gtk# if you want to work on multiple platforms.

Also, mono is a work in progress port of the .net framework to the linux platform.

Share this post


Link to post
Share on other sites
washu, I think you are missing the fact the the CLI and C# specs do not cover much of the usefull functionality of .NET (for instance ASP.NET, ADO.NET, GDI+, and most other major pieces of the FCL).

It is worth noting that Rotor was intentionally only ported to FreeBSD / MacOSX by Microsoft because A) FreeBSD is the Mac core and MS sells Mac software, and B) Microsoft is quite scared of Linux and wants to keep it as behind as possible on new technology.

Also, it is incorrect that Mono is a port of .NET to Linux, Mono is not tied to Linux in any way ... I personally have only ever installed it on Windows XP. It is a CROSS PLATFORM open source implementation of .NET. It is partial. It does have linux related libraries (or more correctly, Gnome related, which may also run on FreeBSD and MacOS X). It also implements various security and helper libraries mostly used by the *nix world, but not linux alone, such as Solaris, AIX, etc.

Share this post


Link to post
Share on other sites
Quote:
Original post by Xai
washu, I think you are missing the fact the the CLI and C# specs do not cover much of the usefull functionality of .NET (for instance ASP.NET, ADO.NET, GDI+, and most other major pieces of the FCL).

I think you missed the point entirely. The point is that Microsoft released a shared source port of the CLI and C# specs to a "competing" operating system.
Quote:

It is worth noting that Rotor was intentionally only ported to FreeBSD / MacOSX by Microsoft because A) FreeBSD is the Mac core and MS sells Mac software, and B) Microsoft is quite scared of Linux and wants to keep it as behind as possible on new technology.

Oh? so it's scared of linux? so it releases a shared source library of the C# and CLI specs that are free for use...to do what exactly? defeat linux? Mono could use Rotor if it wanted to.

And the fact that the CLI and C# are both EMCA standards now would help Microsoft to fend off the fearful might of linux and OSS how?

Please. Microsoft is trying to start an initiative here, they are trying to promot something very cool, very useful, and very much a benefit to programmers as a whole. Quite unlike java however, they have bothered to submit it to a standards body that can better help the language to grow and evolve.
Quote:

Also, it is incorrect that Mono is a port of .NET to Linux, Mono is not tied to Linux in any way ... I personally have only ever installed it on Windows XP. It is a CROSS PLATFORM open source implementation of .NET. It is partial. It does have linux related libraries (or more correctly, Gnome related, which may also run on FreeBSD and MacOS X). It also implements various security and helper libraries mostly used by the *nix world, but not linux alone, such as Solaris, AIX, etc.

You do have a point here, Mono is not tied to linux. It was however originally started as a port to linux.


[Edited by - Washu on August 28, 2004 3:53:33 PM]

Share this post


Link to post
Share on other sites
2 things -

1, I work as a C# .Net programmer, using Visual Studio 2003 writing ASP.NET based banking web software, at a Microsoft partner company. So I'm not trying to tell people ... run from the evil microsoft. The MS being scared of linux IS true, period. Read their papers. The MS trying to hold linux back if and when they can IS true, just as MS (and every other major corperation) is scared of any competition that can hurt their bottom line, and tries to hold back any competitor that would take their customers. I'm not saying MS is anti linux cause they're anti progress or anything, I'm saying their anti linux in the same way they are anti oracle, anti IBM, anti Sun, and anti apple. Which is to say, for the companies existing, and for finding ways to both profit, but against the other company profiting in any way that doesn't help MS. And since they haven't found a way for Linux to help MS, they are currently simply just pure anti linux. That won't always be true I'm sure.

2, have you read the Rotor license? It is not a real product you can use for any usefull purpose. It cannot be used for ANY COMMERIAL PURPOSE whatsoever. And it cannot be relicensed of course. So even FreeBSD and Apple cannot include rotor with their systems, or build systems with rotor on them, or distribute rotor with any commercial application. So it's not exactly a "here's .NET for Mac and FreeBSD", it's a "here's some source code to play with".

But still, rotor does exist, it's good that it does (of course part of getting ECMA standardized includes certain licenses and availability rules - but not as lienient as MS made rotor). So I'm really not trying to argure with you. Your post about Rotor added real value here, I was jsut taking issues with the implications in your original post that you can do anything usefull with .NET on any platform except windows, UNLESS you get dotGNU or Mono, cause you can't.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Credentials mean nothing on the internet.

Mono is creating a new Windows.Forms framework that is going to be "super protable" and will allow managed Windows.Forms applications to run unchanged on all platforms Mono supports. Its going to have .NET 1.1 parity approaching December or January, they say, or they've said, I hate the semantics of time. It'll be ready to rock in awhile.

Also, Mono *IS* an implementation of ECMA .NET for Linux. DotGNU is a competing alternative to Microsoft's .NET initiative. It means jackshit since the libraries are interchangable between the two projects.

Share this post


Link to post
Share on other sites
Quote:
Also, Mono *IS* an implementation of ECMA .NET for Linux. DotGNU is a competing alternative to Microsoft's .NET initiative. It means jackshit since the libraries are interchangable between the two projects.

Or to put it in somewhat more polite terms [smile] and to make it I hope perfectly clear, just because System.Drawing and System.Drawing2D are implemented using GDI+ on the Microsoft .NET Runtime, that doesn't mean you're tied to GDI+ if you use them. Other platforms that properly implement those classes will implement them in some other terms.

It's not the System.GDI+ namespace. [wink]

Share this post


Link to post
Share on other sites
"And the fact that the CLI and C# are both EMCA standards now would help Microsoft to fend off the fearful might of linux and OSS how?"

Does everyone seriously expect MS to stay within the confines of the standard in the long term.

Read an interview with the samba developers, they always say that implememnting the MS standard is easy, implementing it the way MS does is the challenge!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Quote:
Original post by flukus
"And the fact that the CLI and C# are both EMCA standards now would help Microsoft to fend off the fearful might of linux and OSS how?"

Does everyone seriously expect MS to stay within the confines of the standard in the long term.

Read an interview with the samba developers, they always say that implememnting the MS standard is easy, implementing it the way MS does is the challenge!


Yeah, obviously Microsoft is willing to break backwards compatability with every .nET application ever created just to get rid of Mono.

Look how well it worked with WINE!

Share this post


Link to post
Share on other sites
Quote:
Original post by 6
...and only Windows 2000 and XP, not 95, 98 or ME.

Wrong, Win98 and WinMe can also run .NET apps. You can install the .NET Framework on 98/Me. However, when you try to install the SDK on 98, the installer will tell you it can't be installed on 98, but there are tricks to install the SDK as well on 98.

Share this post


Link to post
Share on other sites

This topic is 4846 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this