HTTP Azure Functions in F# for .NET Core 2.0
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
SimpleHttp
SuaveHttp
.gitignore
HttpTriggerCore.fsproj
LICENSE
README.md
host.json
local.settings.json

README.md

F# HTTP Trigger Functions for .NET Core 2.0

Examples of Azure Functions with HTTP trigger, implemented in F# and running on .NET Core 2.0 with Azure Functions 2.0 runtime (currently in beta/preview).

Running examples

dotnet restore
dotnet build
dotnet publish
cd bin\debug\netstandard2.0\publish
func host start

or just execute run command from Visual Studio Code.

Simple HTTP

Minimal example of HTTP Trigger in F#

Sample URL: http://localhost:7071/api/simple?name=User

Response: Hi, User

Suave HTTP

Example using Suave F#-friendly web library

Sample URL: http://localhost:7071/api/suave/goodbye

Response: Good bye GET

Based on Tamizhvendan's Suave.Azure.Functions

Other Links

Blog post Develop Azure Functions on any platform