Falco 5.0.0-beta4
See the version list below for details.
dotnet add package Falco --version 5.0.0-beta4
NuGet\Install-Package Falco -Version 5.0.0-beta4
<PackageReference Include="Falco" Version="5.0.0-beta4" />
paket add Falco --version 5.0.0-beta4
#r "nuget: Falco, 5.0.0-beta4"
// Install Falco as a Cake Addin #addin nuget:?package=Falco&version=5.0.0-beta4&prerelease // Install Falco as a Cake Tool #tool nuget:?package=Falco&version=5.0.0-beta4&prerelease
Falco
open Falco
open Falco.Routing
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 full-stack web applications quickly.
- Seamlessly integrates with existing .NET Core middleware and libraries.
Key Features
- Asynchronous request handling.
- Simple and powerful routing API.
- Uniform API for accessing any request data.
- Native F# view engine.
- Authentication and security utilities.
- Built-in support for large uploads and binary responses.
Design Goals
- Provide a toolset to build 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.OpenApi - a library for generating OpenAPI documentation from Falco applications.
- 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 | 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. net9.0 is compatible. |
-
net8.0
- Falco.Markup (>= 1.1.1)
- FSharp.Core (>= 6.0.0)
-
net9.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
OpenAPI integration that provides a set of utilities for generating OpenAPI documentation from Falco routes. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
5.0.0-rc1 | 86 | 12/17/2024 |
5.0.0-beta5 | 74 | 12/9/2024 |
5.0.0-beta4 | 80 | 11/25/2024 |
5.0.0-beta3 | 76 | 11/24/2024 |
5.0.0-beta2 | 86 | 11/18/2024 |
5.0.0-beta1 | 100 | 11/1/2024 |
5.0.0-alpha5 | 178 | 10/21/2024 |
5.0.0-alpha4 | 126 | 10/18/2024 |
5.0.0-alpha3 | 84 | 10/17/2024 |
5.0.0-alpha2 | 86 | 9/29/2024 |
5.0.0-alpha1 | 66 | 9/22/2024 |
4.0.6 | 3,076 | 12/12/2023 |
4.0.5 | 445 | 11/16/2023 |
4.0.4 | 4,283 | 3/13/2023 |
4.0.3 | 890 | 1/1/2023 |
4.0.2 | 436 | 11/30/2022 |
4.0.1 | 362 | 11/23/2022 |
4.0.0 | 623 | 11/7/2022 |
4.0.0-rc1 | 151 | 11/2/2022 |
4.0.0-beta4 | 160 | 10/26/2022 |
4.0.0-beta3 | 149 | 10/25/2022 |
4.0.0-beta2 | 589 | 9/23/2022 |
4.0.0-beta1 | 147 | 9/13/2022 |
4.0.0-alpha2 | 143 | 9/11/2022 |
4.0.0-alpha1 | 179 | 8/29/2022 |
3.1.14 | 1,858 | 8/29/2022 |
3.1.13 | 683 | 8/11/2022 |
3.1.12 | 1,860 | 5/20/2022 |
3.1.11 | 1,151 | 2/8/2022 |
3.1.10 | 820 | 12/14/2021 |
3.1.9 | 441 | 12/6/2021 |
3.1.8 | 408 | 12/3/2021 |
3.1.7 | 808 | 9/24/2021 |
3.1.6 | 379 | 9/24/2021 |
3.1.5 | 387 | 9/24/2021 |
3.1.4 | 513 | 8/24/2021 |
3.1.3 | 547 | 8/4/2021 |
3.1.2 | 480 | 7/30/2021 |
3.1.1 | 462 | 7/27/2021 |
3.1.0 | 440 | 7/27/2021 |
3.1.0-beta8 | 263 | 7/7/2021 |
3.1.0-beta7 | 261 | 7/6/2021 |
3.1.0-beta6 | 275 | 7/6/2021 |
3.1.0-beta5 | 271 | 7/5/2021 |
3.1.0-beta4 | 229 | 7/5/2021 |
3.1.0-beta3 | 317 | 7/1/2021 |
3.1.0-beta2 | 262 | 7/1/2021 |
3.1.0-beta1 | 254 | 6/15/2021 |
3.0.5 | 1,458 | 6/14/2021 |
3.0.4 | 569 | 5/5/2021 |
3.0.3 | 565 | 4/10/2021 |
3.0.2 | 823 | 12/8/2020 |
3.0.1 | 535 | 12/1/2020 |
3.0.0 | 576 | 11/27/2020 |
3.0.0-alpha9 | 305 | 11/26/2020 |
3.0.0-alpha8 | 290 | 11/25/2020 |
3.0.0-alpha7 | 319 | 11/25/2020 |
3.0.0-alpha6 | 315 | 11/22/2020 |
3.0.0-alpha5 | 277 | 11/20/2020 |
3.0.0-alpha4 | 300 | 11/20/2020 |
3.0.0-alpha3 | 283 | 11/20/2020 |
3.0.0-alpha2 | 475 | 11/11/2020 |
3.0.0-alpha1 | 280 | 11/11/2020 |
2.1.0 | 676 | 11/11/2020 |
2.0.4 | 1,877 | 11/9/2020 |
2.0.3 | 589 | 10/31/2020 |
2.0.2 | 1,022 | 7/31/2020 |
2.0.1 | 559 | 7/20/2020 |
2.0.0 | 740 | 7/12/2020 |
2.0.0-alpha | 337 | 7/7/2020 |
1.2.3 | 564 | 7/2/2020 |
1.2.2 | 541 | 6/29/2020 |
1.2.1 | 612 | 6/28/2020 |
1.2.0 | 615 | 6/23/2020 |
1.1.0 | 780 | 6/6/2020 |
1.0.10-alpha | 346 | 5/13/2020 |
1.0.9-alpha | 399 | 4/29/2020 |
1.0.8-alpha | 345 | 4/29/2020 |
1.0.7-alpha | 326 | 4/27/2020 |
1.0.6-alpha | 335 | 4/24/2020 |
1.0.5-alpha | 335 | 4/23/2020 |
1.0.4-alpha | 348 | 4/22/2020 |
1.0.3-alpha | 358 | 4/19/2020 |
1.0.2-alpha | 358 | 4/19/2020 |
1.0.1-alpha | 356 | 4/7/2020 |
1.0.0-alpha | 350 | 4/6/2020 |