install asp website on linux

The ASP.NET development environment on Ubuntu Linux is called XSP. This  is a simple webserver written in C# that can be used for either ASP.NET  1.0 or 2.0 applications.

Mono is a software platform designed to allow developers to easily create cross platform applications. It is an open source implementation
of Microsoft's .Net Framework based on the ECMA standards for C# and the Common Language Runtime. We feel that by embracing a successful,
standardized software platform, we can lower the barriers to producing great applications for Linux.

sudo apt-get install mono-xsp2 mono-apache-server2 libapache2-mod-mono mono-gmcs mono-utils
   sudo apt-get install asp.net2-examples

This will install the development environment along with some sample applications. To run the sample applications, you will launch the XSP process and point it at the samples. You’d simply modify the path to run an application that you’ve created

xsp2 –root /usr/share/asp.net2-demos/
Listening on port: 8080 (non-secure)
Listening on address:
Root directory: /usr/share/
Hit Return to stop the serve

Now open your  browser  http://ip:8080 or   http://host:8080