LinuxCommandLibrary

xsp

Mono ASP.NET development web server

TLDR

Start server

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

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.

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community