Hide this comment

Hi Mikke,

It is very easy to write a REST API with Suave.IO and you can get typed parameters in variety of ways.

See for example how to use mapJson: [link:github.com]

Or pathScan :

let app = pathScan "/add/%d/%d" (fun (a,b) -> OK((a + b).ToString()))

By on 4/24/2015 6:58 PM ()Reply
Hide this comment

Depending on your timescales, Freya ([link:github.com] might be a good option, although I'd be the first to say that it's still new and under development. However we are focusing heavily on being *great* for data/API based programming. If you wanted to try it out and see whether it fits for you, I'd be happy to do some work to help you get started and see what you think.

By on 3/11/2015 6:29 AM ()Reply
Hide this comment

Have you looked at FunScript

By on 3/3/2015 8:43 PM ()Reply
Hide this comment

Yes, I have looked but that's only for the client side. I would like to create REST API-server with F#

By on 3/3/2015 11:57 PM ()Reply
Hide this comment

For now, your best bet is likely Microsoft's WebAPI. Microsoft is in the middle of transitioning their web stack to a more lightweight, modern style, and WebAPI go there first. Here's an Visual Studio F# template extension for WebAPI 2.2 (and MVC 5).

By on 3/5/2015 6:39 AM ()Reply
Hide this comment

Have you looked at FunScript?

By on 3/3/2015 8:43 PM ()Reply
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper

Logging in...