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

by on January 5, 2007 · 5 comments· LAST UPDATED January 5, 2007

in , ,

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

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 5 comments… read them below or add one }

1 murlidhar J Chawhan March 8, 2007 at 10:06 am

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

Reply

2 Ashwin May 13, 2009 at 4:48 pm

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

Reply

3 Naveen January 17, 2011 at 7:24 am

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

Reply

4 Brumbo October 23, 2011 at 12:52 pm

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

Follow the instructions!

http://forums.freebsd.org/showthread.php?t=25743

Reply

5 sadam hussain August 30, 2012 at 2:03 pm

it is useful for learners.. Thank you

Reply

Leave a Comment

Tagged as:

Previous Faq:

Next Faq: