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

Posted on in Categories , , , last updated January 5, 2007

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

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

5 comment

  1. 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

  2. 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 ?

    thanks

Leave a Comment