Install Monodevelop on Ubuntu Linux
Monodevelop is probably the best IDE for developing .NET applications on Linux. In order to install and use it for development, you will also need the Mono .NET runtime environment installed. Thankfully, installing monodevelop and mono are very simple on Ubuntu.
Run this command from a Terminal window:
sudo apt-get install mono mono-gmcs mono-gac mono-utils monodevelop monodoc-browser monodevelop-nunit monodevelop-versioncontrol
You will now have a shiny new Monodevelop installation, along with the documentation, nunit plugin, and version control plugin. You are using version control, aren’t you?
ASP.NET 1.0
sudo apt-get install mono-xsp mono-xsp-basesudo 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-basesudo 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:
No comments:
Post a Comment