Skip to content
Prototype of an FSharp Nano-framework based on Sinatra
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Prototype of an FSharp Nano-framework based on Sinatra

It only has 2 dependancies (Owin, and Newtonsoft.Json), and Newtonsoft.Json is only used for deserializing query string members

Hello World looks like this:

type MyApp() =
    member x.``GET /`` () =
        "Hello World"

Does support different verbs but there is no way to actually get posted data (it is only a prototype):

type MyApp() =
    member x.``POST /`` () =

Types parameters from the query string too:

type MyApp() =
    member x.``GET /square`` number =
        number * number

By default does no content negotiation whatesoever, although there is a dumb component that can be used to just return plain text.

You can’t perform that action at this time.