Public Flabbergast evaluation server
C# ASP CSS Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
COPYING
Default.aspx
Default.aspx.cs
Default.aspx.designer.cs
Flabbergast.Fiddle.csproj
Global.asax
Global.asax.cs
README.md
db-create
db-prune
flabbergast-fiddle.sln
format
install-in-systemd
o_0-fiddle.css
schema.sql
support.cs
web.config

README.md

Flabbergast Fiddle

This provides a server capable of providing a web interface to run Flabbergast code. If you want to try it, visit Flabbergast Fiddle. These instructions are for building your own server.

Building

The application is an ASP.NET application, requiring a working Flabbergast CLR edition.

Install the Mono XSP4 server and then build the project:

apt-get install mono-xsp4
ln -s /usr/share/flabbergast/cli/Flabbergast.*.dll bin
xbuild

Deploying

There are several deployment options, consult Mono ASP.NET for details. For testing, the easiest is to:

xsp4

and then view in a web browser.

For real deployment, the FastCGI or mod_mono options make better sense.

Security

The Flabbergast environment created is a bit unusual. First, the SQL, and JSON URI schemes are disabled. Also, the library loader will only use pre-compiled libraries, so running sudo update-flabbergast is essential.

The current: URI scheme exposes the login name of the account running the server.

The previously compiled code for every run are held in memory in a per-user session variable. They should be reaped when the session end, since there is no permgen like Java.

There is a timeout for page processing enforced by ASP.NET.