Run ASP.Net on a Linux, Solaris UNIX, Mac OS X or FreeBSD

Q. How do I run ASP.Net on a Linux server installation?


A. Linux does not provide an application that will support ASP.NET or its application out of the box.

ASP.NET is a set of web application development technologies by Microsoft. Programmers can use it to build dynamic web sites, web applications and XML web services. It is part of Microsoft’s .NET platform and is the successor to Microsoft’s Active Server Pages (ASP) technology.

You need to use an open source implementation of the Microsoft .NET architecture called mono.

Mono provides the necessary software to develop and run .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix. Sponsored by Novell, the Mono open source project has an active and enthusiastic contributing community and is positioned to become the leading choice for development of Linux applications.

Mono can be run on

  • Linux
  • FreeBSD
  • UNIX
  • Mac OS X
  • Solaris
  • Windows operating systems

Download mono

=> Mono Download Link

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

5 comments… add one
  • murlidhar J Chawhan Mar 8, 2007 @ 10:06

    i have created an aspx page which should get the Client machine name

    i have used system.Environment.machine name but it gives only server name
    and the client machine name where this this URL is open

    then i have used
    System.Net.IPHostEntry host = System.Net.Dns.GetHostByAddress(HttpContext.Current.Request.ServerVariables[(“REMOTE_HOST”)]);
    strName = host.HostName;

    But this is creating a problem in MAC system since it wont read DNS.

    Now the Problem is how can i get Client machine name of where my aspx page opens in MAC machine as well as windows machine

  • Ashwin May 13, 2009 @ 16:48

    Is there anything for FreeBSD? Mono is not available for FreeBSD..

  • Naveen Jan 17, 2011 @ 7:24

    So, is mono like visual studio where in I can create ASP.NET applications and just load it to unix and run ? or is there any necessity to install some other softwares in unix so that the application can execute ?


  • Brumbo Oct 23, 2011 @ 12:52

    Mono is located in /usr/ports/lang/mono
    just cd to /usr/ports/lang/mono and type make install distclean!

    Follow the instructions!

  • sadam hussain Aug 30, 2012 @ 14:03

    it is useful for learners.. Thank you

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.