0
comment
comment
on 9/4/2012 1:00 AM
F# 3.0 is included as part of Visual Studio 2012 and comes with a gallery of community contributed online templates for F#.
Time to explore!
One online template is "F#/C# MVC 4" using ASP.NET Web API. Let's use this template to create a HTTP REST Web API which responds to requests as follows:
GET http://myhost.com/api/values --> the JSON value ["value1","value2"]
GET http://myhost.com/api/values/5 --> the JSON value 5
POST http://myhost.com/api/values --> does nothing by default, but y[...]