Google Plus

install asp website on linux

Written by Mel Kham on . Posted in Linux tutorials

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

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

SK

|

Thanks for the comment Abdullah. Stay tuned with us always.

Abdullah Musazai

|

Thank you for such a great service you always do, hope you gain more power and more energy to work more & more

Dominik Bauer

|

thx a lot!

Maximiliano Osorio

|

Osom. Thank you.

Sam

|

Thanks much. It worked like a charm.

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .