Getting ASP.NET (Mono) Working on OS X

Discussion in 'Mac Programming' started by witness, Jul 15, 2005.

  1. witness macrumors 6502

    Joined:
    Apr 7, 2005
    Location:
    Austria
    #1
    Has anyone tried to get XSP running on Mac OS X?

    I have downloaded the mono runtime for OS X, but it doesn't include XSP for running ASP.NET applications. It seems as though you have to download the source for XSP and compile it your self.

    I can't find any good information about getting it working, if anyone has any tips, please let me know.
     
  2. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
    #2
    I tried this just yesterday, and didn't get it going :(

    I downloaded the XSP source and compiled it. Technically it ran, but failed on the first ASP.NET page I threw at it :rolleyes:
     
  3. witness thread starter macrumors 6502

    Joined:
    Apr 7, 2005
    Location:
    Austria
    #3
    I read that if you get the source directly from svn it is more reliable than the download provided on the mono site. Though I guess it would be a little hit and miss if people have uploaded some dodge patches.

    What I don't understand is, if XSP is fully C# and the mono runtime is working on OS X, XSP should work on OS X without needing to be compiled.

    I wonder... if I took a copy of the XSP assembly from a Suse or even Windows box it should theoretically run. Perhaps I'll have to give that a go.
     
  4. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
    #4
    It compiled ridiculously quickly for me. You're probably right - it probably didn't compile much at all, because most of it would be interpreted by Mono.
     
  5. witness thread starter macrumors 6502

    Joined:
    Apr 7, 2005
    Location:
    Austria
    #5
    I have it working! :D

    I just copied xsp.exe and Mono.WebServer.dll from a windows installation of mono and ran it on OS X using the test asp.net applications and they work!

    Now I have one less reason to boot up VPC :)

    Now if only I could find a decent C# IDE that works on OS X...
     
  6. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
  7. witness thread starter macrumors 6502

    Joined:
    Apr 7, 2005
    Location:
    Austria
    #7
    Well I only need it for testing. Our production servers are Suse boxes, so XSP is all I need on my PowerBook. :)
     

Share This Page