How To Test an Apache Mono Server

How To Test an Apache Mono Server

2 Comments on How To Test an Apache Mono Server

After the Apache web server has been set up with mono, the next thing to do is check if it works. I have a simple project that I put on the web server to check if it is working. This article will show how to create a similar ASP web application in a few minutes.

Install MonoDevelop
The development environment this article will use is MonoDevelop. It is open source and works on Linux, Windows and OSX.

MonoDevelop and everything needed to create an ASP web application can be installed in Ubuntu with the following command:

sudo apt-get install monodevelop mono-complete mono-xsp2

Create a Web Application
Click the ‘File’ drop down menu then ‘Solution’. Under C# select ASP.NET then select Web Application. Give the solution and project a name.

MonoDevelop will create a solution and project with a button that has the caption ‘Click me!’. When the button is pressed the caption will change to ‘You clicked me’ and prove the server is working. There is no need to write any code.

If the XSP2 web server for Mono is installed, the project can be tested locally and will look something like this:

When the button it is clicked the caption will change:

Copy Files To Server
The files that need to be copied to the web server from the project end in the following file extensions:

  • .aspx
  • .asax
  • .config
  • The bin directory

If it is easier, The entire project can be copied to the server as it is only to check if it is working.

About the author:

Bill Payne started working as a paid professional software developer at the young age of 12 years old developing simple games and other applications for pre-packaged computers. Bill has since developed software for many industries such as direct sales and the the stock market. Bill has now started sharing his many years of software development experience through a blog on the MPSHouse website and one on one lessons.


  1. OpenSUSE in 2011 | Techrights  - 31 August , 2011 - 3:47 pm
    Reply /

    […] the news about OpenSUSE is very scarce, themes and HOWTOs aside. SUSE is often being mentioned in the context of Mono and preloads of SUSE, which we used to see in HP, are no more. At Wype, SUSE is still optional and […]

  2. Server  - 3 October , 2011 - 12:07 am
    Reply /


    […]How To Test an Apache Mono Server – A blog about programming, databases and other IT related topics.[…]…

Leave a comment

Back to Top