xsp

Mono ASP.NET development web server

TLDR

Start server
$ xsp
Specify port
$ xsp --port [8080]
Set root directory
$ xsp --root [/var/www]
Enable HTTPS
$ xsp --https --p12file [server.p12] --pkpwd [password]
Run ASP.NET 4
$ xsp4
Bind to address
$ xsp --address [0.0.0.0]

SYNOPSIS

xsp [--port port] [--root path] [--address ip] [--https] [options]

DESCRIPTION

xsp is a lightweight standalone web server included with the Mono project for hosting ASP.NET applications on Linux and other Unix-like systems. It serves as a development and testing server, providing a quick way to run ASP.NET WebForms and MVC applications without requiring a full web server setup.The server supports HTTPS via PKCS#12 certificate files and can bind to specific addresses and ports. For production deployments, xsp should be replaced with mod_mono behind Apache or a similar reverse proxy configuration that provides better performance and security.

PARAMETERS

--port PORT

Listen port (default 8080).
--root PATH
Application root directory.
--address IP
Bind address.
--https
Enable HTTPS.
--p12file FILE
PKCS#12 certificate file.
--pkpwd PASSWORD
Certificate password.
--nonstop
Don't stop on ENTER.

INSTALL

sudo dnf install xsp
sudo zypper install xsp

CAVEATS

Development server. Mono required. Use with mod_mono for production.

HISTORY

xsp is part of the Mono project, providing a standalone ASP.NET web server for testing and development on Linux.

SEE ALSO

mono(1), mcs(1), apache2(1)