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

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 5 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
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.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum