I need to find a way of building rest services in F# using the latest asp.net 5 and mvc 6 web api. Is there any direct support for this in Visual Studio 2015 as a project template? If not, could someone please put me on the right track on how to proceed? One option could be to build an F# library and then call it from a C# asp.net mvc 6 project. However I would be very interested in building a native F# mvc 6 web api. Thanks!
Google returned the following project: https://github.com/fsprojects/fsharp-dnx
The HelloFSharp sample works fine, however could not manage to make the HelloMVC project build:
- dnu restore complains about many not found dependencies
dnx web has the following error:
System.TypeLoadException: Could not load type 'Microsoft.Extensions.Logging.ILogValues' from assembly 'Microsoft.Extensions.Logging.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.