I encountered your project and noticed it's based on a simple, older csharp template. I've recently written an ASPNET template, using ASPNET 5 that I think it offers better control and something more comfortable to those who are used to write MVC or API applications. You get access to the HttpRequest and you respond an IActionResult. You can also use attributes to restrict execution to certain HTTP request methods, use dependency injection, configuration, built-in secrets and other stuff.
I imagine it would be very easy to write an aspnet-fsharp version of the template, using the same tools, with minimal effort (just writing the function template). Let me know if you would be interested or have any questions.
Actually I had a request from a friend that wanted to use F# with the template, so I ended up adding an F# template. Feel free to have a look and comment.
Hi,
I encountered your project and noticed it's based on a simple, older csharp template. I've recently written an ASPNET template, using ASPNET 5 that I think it offers better control and something more comfortable to those who are used to write MVC or API applications. You get access to the
HttpRequest
and you respond anIActionResult
. You can also use attributes to restrict execution to certain HTTP request methods, use dependency injection, configuration, built-in secrets and other stuff.I imagine it would be very easy to write an
aspnet-fsharp
version of the template, using the same tools, with minimal effort (just writing the function template). Let me know if you would be interested or have any questions.Cheers