Kenyans247 Forum

Welcome, Guest: Join Kenyans247 LOGIN!

Stats: 224 Members, 11,371 topics and 65 posts Date: Sunday 05 April 2020 at 03:19 PM
TrendingRecentNewestClassifiedDirectoryLivescoresLive Kenyan TVLive Kenyan Radio

Run ASP.NET applications on Ubuntu (for developers)

Kenyans247 / Science/Technology / Computers / Run ASP.NET applications on Ubuntu (for developers) (19 View's)

Run Asp.net Applications On Ubuntu (for Developers) Run Asp.net Applications On Ubuntu (for Developers)
(Go Down) (» Reply topic)
Run ASP.NET applications on Ubuntu (for developers) by Kenyans247(m): Sun 22, March, 2020 10:41am
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. You can install both environments side by side if need be.

Requirements:

Mono development environment.

ASP.NET 1.0

sudo apt-get install mono-xsp mono-xsp-base

sudo apt-get install asp.net-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.

> xsp –root /usr/share/asp.net-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 server.

ASP.NET 2.0

sudo apt-get install mono-xsp2 mono-xsp2-base

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

At this point, you’d want to navigate in your browser to http://localhost:8080/ and you should see a page similar to this:
kenyans247

(» Reply topic) (» Go Up)

Recommended for you

» Run Asp.net Applications On Ubuntu (for Developers) » Run Asp.net Applications On Ubuntu (for Developers)
Viewing this topic:
1 guest(s) viewing this topic

Sections: Family, Kenyans247 ads, Agriculture, Africa, Homepage, Computers, Phones, Programing, Universities, Innovation, Jokes Etc, Forum Games, Literature, Sports, Photography, Burundi Forum, Ugandan Forum, Rwanda Forum, Tanzania Forum, Somalia Forum,

Kenyans247 - Copyright © 2019 - 2020 Sande Kennedy. All rights reserved. See How To Advertise.
Disclaimer: Every Kenyans247 member is solely responsible for anything that he/she posts or uploads on Kenyans247.