GitHub - ianbattersby/scriptcs-simpleweb: Simple.Web Script Pack for ScriptCS

###scriptcs-SimpleWeb

##Simple.Web Script Pack

####Note

####Script

[UriTemplate("/")]
public class GetIndex : IGet, IOutput<RawHtml>
{
    public Status Get()
    {
        return 200;
    }

    public RawHtml Output
    {
        get { return "<h2>Simple.Web rules supreme!</h2>"; }
    }
}

var SimpleWeb = Require<SimpleWeb>();

SimpleWeb.StartServer(3333);

####Install

scriptcs -install ScriptCs.SimpleWeb

####Run

scriptcs start.csx -debug    (**currently investigating why only Roslyn in debug mode works with Flux**)

####Browse http://localhost:3333