install asp website on linux

by
Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0StumbleUpon0
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: 0.0.0.0
Root directory: /usr/share/asp.net-demos
Hit Return to stop the serve
Application_Start


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

For questions please refer to our Q/A forum at : http://ask.unixmen.com/


Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0StumbleUpon0