Falco 5.0.0-alpha1
See the version list below for details.
dotnet add package Falco --version 5.0.0-alpha1
NuGet\Install-Package Falco -Version 5.0.0-alpha1
<PackageReference Include="Falco" Version="5.0.0-alpha1" />
paket add Falco --version 5.0.0-alpha1
#r "nuget: Falco, 5.0.0-alpha1"
// Install Falco as a Cake Addin #addin nuget:?package=Falco&version=5.0.0-alpha1&prerelease // Install Falco as a Cake Tool #tool nuget:?package=Falco&version=5.0.0-alpha1&prerelease
Falco
open Falco
open Microsoft.AspNetCore.Builder
let wapp = WebApplication.Create()
let endpoints =
// associate GET / to plain text HttpHandler
[ get "/" (Response.ofPlainText "Hello World!") ]
// activate Falco endpoint source
wapp.UseFalco(endpoints)
.Run()
Falco is a toolkit for building fast and functional-first web applications using F#. You can think of it as minimal API on steroids.
- Built upon the high-performance components of ASP.NET Core.
- Optimized for building HTTP applications quickly.
- Seamlessly integrates with existing .NET Core middleware and libraries.
Key Features
- Asynchronous request handling.
- Simple and powerful routing API.
- Fast, secure and configurable web server.
- Native F# view engine.
- Uniform API for accessing request data.
- Authentication and security utilities.
- Built-in support for large uploads and binary responses.
Design Goals
- Provide a toolset to build a working full-stack web application in F#.
- Should be simple, extensible and integrate with existing .NET libraries.
- Can be easily learned.
Learn
The best way to get started is by visiting the documentation. For questions and support please use discussions. The issue list of this repo is exclusively for bug reports and feature requests. For chronological updates refer to the changelog is the best place to find chronological updates.
If you want to stay in touch, feel free to reach out on Twitter.
Have an article or video that you want to share? We'd love to hear from you! To add your content, visit this discussion.
Related Libraries
- Falco.Markup - an XML markup module primary used as the syntax for authoring HTML with Falco.
- Falco.Htmx - An experimental Falco integration with htmx JS package.
- Falco.Template - a .NET SDK project template to help get started with Falco quickly.
Community Projects
- FalcoJournal - A bullet journal built with Falco, .NET 5.x and ASP.NET Core.
- Falco GraphQL Sample - A sample showing how to use GraphQL on Falco using .NET 6.
- Falco API with Tests Sample - A sample project using Falco and unit testing.
- Falco + SQLite + Donald - A demo project using Falco, Donald, and SQLite
- FShopOnWeb - An adaptation of the classic ASP.NET Core sample application using Falco and an F# architecture.
Articles
Videos
- Ben Gobeil - Why I'm Using Falco Instead Of Saturn | How To Switch Your Backend In SAFE Stack | StonkWatch Ep.13
Contribute
Thank you for considering contributing to Falco, and to those who have already contributed! We appreciate (and actively resolve) PRs of all shapes and sizes.
We kindly ask that before submitting a pull request, you first submit an issue or open a discussion.
If functionality is added to the API, or changed, please kindly update the relevant document. Unit tests must also be added and/or updated before a pull request can be successfully merged.
Only pull requests which pass all build checks and comply with the general coding guidelines can be approved.
If you have any further questions, submit an issue or open a discussion or reach out on Twitter.
Why "Falco"?
Kestrel has been a game changer for the .NET web stack. In the animal kingdom, "Kestrel" is a name given to several members of the falcon genus. Also known as "Falco".
Find a bug?
There's an issue for that.
License
Built with ♥ by Pim Brouwers in Toronto, ON. Licensed under Apache License 2.0.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- Falco.Markup (>= 1.1.1)
- FSharp.Core (>= 6.0.0)
-
net8.0
- Falco.Markup (>= 1.1.1)
- FSharp.Core (>= 6.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Falco:
Package | Downloads |
---|---|
Falco.Htmx
HTMX Bindings for the Falco web toolkit. |
|
Falco.Bulma
Package Description |
|
Falco.OpenApi
Open API support for Falco. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
5.0.0-beta1 | 80 | 11/1/2024 |
5.0.0-alpha5 | 168 | 10/21/2024 |
5.0.0-alpha4 | 115 | 10/18/2024 |
5.0.0-alpha3 | 69 | 10/17/2024 |
5.0.0-alpha2 | 79 | 9/29/2024 |
5.0.0-alpha1 | 61 | 9/22/2024 |
4.0.6 | 2,491 | 12/12/2023 |
4.0.5 | 430 | 11/16/2023 |
4.0.4 | 4,276 | 3/13/2023 |
4.0.3 | 883 | 1/1/2023 |
4.0.2 | 427 | 11/30/2022 |
4.0.1 | 353 | 11/23/2022 |
4.0.0 | 613 | 11/7/2022 |
4.0.0-rc1 | 146 | 11/2/2022 |
4.0.0-beta4 | 153 | 10/26/2022 |
4.0.0-beta3 | 144 | 10/25/2022 |
4.0.0-beta2 | 584 | 9/23/2022 |
4.0.0-beta1 | 142 | 9/13/2022 |
4.0.0-alpha2 | 138 | 9/11/2022 |
4.0.0-alpha1 | 174 | 8/29/2022 |
3.1.14 | 1,801 | 8/29/2022 |
3.1.13 | 674 | 8/11/2022 |
3.1.12 | 1,840 | 5/20/2022 |
3.1.11 | 1,142 | 2/8/2022 |
3.1.10 | 811 | 12/14/2021 |
3.1.9 | 432 | 12/6/2021 |
3.1.8 | 399 | 12/3/2021 |
3.1.7 | 798 | 9/24/2021 |
3.1.6 | 364 | 9/24/2021 |
3.1.5 | 377 | 9/24/2021 |
3.1.4 | 504 | 8/24/2021 |
3.1.3 | 538 | 8/4/2021 |
3.1.2 | 468 | 7/30/2021 |
3.1.1 | 453 | 7/27/2021 |
3.1.0 | 431 | 7/27/2021 |
3.1.0-beta8 | 258 | 7/7/2021 |
3.1.0-beta7 | 253 | 7/6/2021 |
3.1.0-beta6 | 270 | 7/6/2021 |
3.1.0-beta5 | 266 | 7/5/2021 |
3.1.0-beta4 | 222 | 7/5/2021 |
3.1.0-beta3 | 312 | 7/1/2021 |
3.1.0-beta2 | 257 | 7/1/2021 |
3.1.0-beta1 | 248 | 6/15/2021 |
3.0.5 | 1,427 | 6/14/2021 |
3.0.4 | 560 | 5/5/2021 |
3.0.3 | 556 | 4/10/2021 |
3.0.2 | 813 | 12/8/2020 |
3.0.1 | 526 | 12/1/2020 |
3.0.0 | 567 | 11/27/2020 |
3.0.0-alpha9 | 299 | 11/26/2020 |
3.0.0-alpha8 | 285 | 11/25/2020 |
3.0.0-alpha7 | 314 | 11/25/2020 |
3.0.0-alpha6 | 310 | 11/22/2020 |
3.0.0-alpha5 | 272 | 11/20/2020 |
3.0.0-alpha4 | 295 | 11/20/2020 |
3.0.0-alpha3 | 276 | 11/20/2020 |
3.0.0-alpha2 | 470 | 11/11/2020 |
3.0.0-alpha1 | 275 | 11/11/2020 |
2.1.0 | 667 | 11/11/2020 |
2.0.4 | 1,842 | 11/9/2020 |
2.0.3 | 578 | 10/31/2020 |
2.0.2 | 1,013 | 7/31/2020 |
2.0.1 | 548 | 7/20/2020 |
2.0.0 | 730 | 7/12/2020 |
2.0.0-alpha | 332 | 7/7/2020 |
1.2.3 | 555 | 7/2/2020 |
1.2.2 | 532 | 6/29/2020 |
1.2.1 | 603 | 6/28/2020 |
1.2.0 | 604 | 6/23/2020 |
1.1.0 | 771 | 6/6/2020 |
1.0.10-alpha | 341 | 5/13/2020 |
1.0.9-alpha | 394 | 4/29/2020 |
1.0.8-alpha | 340 | 4/29/2020 |
1.0.7-alpha | 321 | 4/27/2020 |
1.0.6-alpha | 330 | 4/24/2020 |
1.0.5-alpha | 330 | 4/23/2020 |
1.0.4-alpha | 342 | 4/22/2020 |
1.0.3-alpha | 353 | 4/19/2020 |
1.0.2-alpha | 353 | 4/19/2020 |
1.0.1-alpha | 351 | 4/7/2020 |
1.0.0-alpha | 345 | 4/6/2020 |