C# Winform on Mac System

Joined
Oct 1, 2009
Messages
1
Reaction score
0
Points
1
Hi, I am very new for Mac system development. I developed winform by using c#.net . It works on Windows but not Mac.

Can i run .exe on Mac?

My project needs to download some data from a SQL table through webservice.

what language can i use to develop on Mac O:) J2SE , ASP.net....etc

if anyone can give me any idea, i really appreciate.

Sorry about my english.
 
Joined
May 2, 2009
Messages
480
Reaction score
13
Points
18
Your Mac's Specs
MBP 2.33 4GB: MacPro 8 Core 2.8, 16GB: MacMini 2.26 4GB: MacMin 2.53 4GB: iPhone3GS 32GB
Welcome to the forums.
Can i run .exe on Mac?

Not natively as the .exe binary format is native to Windows. The only way you can run an .exe is through some sort of emulation/virtualization software. Darwine is a project that allows you to run some Windows applications on OSX. VMWare, Parallels and VirtualBox are VM solutions that allow you to run Windows as a 'guest' operating system under OSX.

My project needs to download some data from a SQL table through webservice.

Webservices are language independent so you have a variety of options for accomplishing this task.

what language can i use to develop on Mac J2SE , ASP.net....etc

You have a very wide variety of choices, your decision is largely influenced by what sort of application you want to write.

OSX native applications are typically written using a language called Objective-C. The XCode IDE is the primary development environment with a framework called Cocoa as one of the primary development APIs. XCode can be found on your OSX install disks, or downloaded from the Mac developer site. OSX provides API's for web service integration. A wealth of documentation can be found in the XCode documentation.

OSX provides a J2SE (Java) environment. OSX 10.5 (Leopard) natively provides Java 1.4 and Java 1.5 as well as Java 1.6 via an optional download. OSX 10.6 (Snow Leopard) provides Java 1.6 only, though you can download an older version of 1.5 if necessary. One of the main development IDE's for Java is Eclipse which is open source.

OSX also allows for Python, Ruby, C, C++ etc. Again, you have quite a few options at your disposal.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Depending on the complexity of your .NET application, you might be able to run it through Mono but I can't guarantee that it will work. It's worth a try though. Just test it thoroughly first if it is really important that the application work.
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
yea, it does work.. I can attest.. but it's about as buggy as the first 14 years of WINE was
 
Joined
Jun 25, 2005
Messages
3,231
Reaction score
112
Points
63
Location
On the road
Your Mac's Specs
2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
What Vansmith means is, even if it looks like it is working, it still will need independent testing on the Mac.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top