Tech Off Thread

3 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

running .net application on mac pc's

Back to Forum: Tech Off
  • User profile image
    khush

    Hi
    i have created a .net application and require it to run on mac 10.3.9.How is it possible which software or service are required to make the application run.Also there is javascript in that code .So will it work on the mac browsers?

  • User profile image
    Maddus Mattus

    khush wrote:
    Hi
    i have created a .net application and require it to run on mac 10.3.9.How is it possible which software or service are required to make the application run.Also there is javascript in that code .So will it work on the mac browsers?


    As long as your ASP.Net Application supports multiple browsers, it should be fine.

  • User profile image
    BadAsh71

    khush, you don't mention if your application is WinForms or WebForms (ASP.Net) based.

    If it is a WinForm app you can easily port the application to the Mac using Mono.


    Mono Project
    http://www.mono-project.com


    Mono Downloads Page
    http://www.mono-project.com/Downloads


    In case you have never heard of it, Mono is an OpenSource implementation of the .NET Framework (1.x, 2.x and some of 3.x).

    For WinForm based applications you can easily port over your application mostly unchanged, however, Mono also provides a Cocoa implementation for .NET called Cocoa# for better integration in with the Mac UI.  You can try your standard WinForms based app first, check out Cocoa# and decide if you want to make use of that instead.

    To develop applications targeted to the Mono .NET Framework you can still use Visual Studio on Windows by utilizing some addins for Visual Studio, as well as some Linux apps ported to Windows, or you can develop using SharpDevelop on Windows or MonoDevelop on Linux, Windows or the Mac.

    Paco has a great one-stop-shop installer for Windows that installs Mono, Glade, GTK# and the Visual Studio Addins for you.


    Mono Experimental Installer
    http://www.mfconsulting.com/blog/archives/000149.html


    Hopefully the above information can help to get you started.


    I assume you are asking about doing a WinForm app, thus all the explanation above, however, if your goal is to have a WebForm (ASP.NET) app work on the Mac, this is pretty easy.  Code the HTML to HTML 4.01 or XHTML specifications and test on either a Mac (Safari) or on Linux (Konqueror) to verify everything looks and works as expected.

    NOTE: You will need to host your web site on Windows IIS or Linux Apache (via Mono).

    I have never looked into running ASP.NET apps via a Mac Web Server but that may be possible as well.  Check out the Mono site for more info.

    Good Luck Big Smile

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.