Hi Folks! In this post I am gonna show you how to test your MVC application (or a WebForms) on xsp/mono to see if it works properly, before deploying it on Apache. The linux OS in this how-to is the Fedora 35.

For starters, we need to download xsp and mono. You can accomplish it by executing the following command in terminal:

sudo dnf install xsp

Download the source-code of your project in a directory (or clone my sample app from github here). My suggestion is the ~/Documents/{YOUR APP} directory. Then open a terminal window, change to the newly created directory and execute xsp4. Open your webbrowser and type in http://localhost:9000 in the address bar.

For my sample app, you'll need to install the AdventureWorks2019 database on SQL Server. You can download it here. Don't forget to change the connection string in the web.config though.

And voilà! Your application should be up and running. If your application is not running, please visit this link on the mono website and check the compatibility list (mono is not fully implemented for .NET 4.7 applications).