Skip to content

luisquintanilla/FSSaturnHW

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FSSaturnHW

Sample Hello World Saturn F# Framework Application

Saturn Website: https://saturnframework.org/ Saturn Docs: https://saturnframework.org/docs/

Create App

  1. Create a new directory for your application.
  2. Navigate to your newly created directory and use the .NET CLI to create an F# Console application.
dotnet new console -lang F#
  1. Use the .NET CLI to add the Saturn package.
dotnet add package Saturn
  1. Replace the contents of your Program.fs file with those in this projects Program.fs file.

Build

dotnet build

Run

dotnet run

Sample Responses

GET http://localhost:7078/api/values

[
    1,
    2,
    3
]

GET http://localhost:7078/api/values/1

{
    "case": "Some",
    "fields": [
        1
    ]
}

Releases

No releases published

Packages

No packages published

Languages