Falco 5.0.0-alpha4
See the version list below for details.
dotnet add package Falco --version 5.0.0-alpha4
NuGet\Install-Package Falco -Version 5.0.0-alpha4
<PackageReference Include="Falco" Version="5.0.0-alpha4" />
paket add Falco --version 5.0.0-alpha4
#r "nuget: Falco, 5.0.0-alpha4"
// Install Falco as a Cake Addin #addin nuget:?package=Falco&version=5.0.0-alpha4&prerelease // Install Falco as a Cake Tool #tool nuget:?package=Falco&version=5.0.0-alpha4&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 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.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. |
-
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
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-beta3 | 26 | 11/24/2024 |
5.0.0-beta2 | 72 | 11/18/2024 |
5.0.0-beta1 | 96 | 11/1/2024 |
5.0.0-alpha5 | 173 | 10/21/2024 |
5.0.0-alpha4 | 118 | 10/18/2024 |
5.0.0-alpha3 | 75 | 10/17/2024 |
5.0.0-alpha2 | 82 | 9/29/2024 |
5.0.0-alpha1 | 64 | 9/22/2024 |
4.0.6 | 2,559 | 12/12/2023 |
4.0.5 | 435 | 11/16/2023 |
4.0.4 | 4,279 | 3/13/2023 |
4.0.3 | 886 | 1/1/2023 |
4.0.2 | 430 | 11/30/2022 |
4.0.1 | 356 | 11/23/2022 |
4.0.0 | 617 | 11/7/2022 |
4.0.0-rc1 | 149 | 11/2/2022 |
4.0.0-beta4 | 158 | 10/26/2022 |
4.0.0-beta3 | 147 | 10/25/2022 |
4.0.0-beta2 | 587 | 9/23/2022 |
4.0.0-beta1 | 145 | 9/13/2022 |
4.0.0-alpha2 | 141 | 9/11/2022 |
4.0.0-alpha1 | 177 | 8/29/2022 |
3.1.14 | 1,816 | 8/29/2022 |
3.1.13 | 677 | 8/11/2022 |
3.1.12 | 1,849 | 5/20/2022 |
3.1.11 | 1,145 | 2/8/2022 |
3.1.10 | 814 | 12/14/2021 |
3.1.9 | 435 | 12/6/2021 |
3.1.8 | 402 | 12/3/2021 |
3.1.7 | 801 | 9/24/2021 |
3.1.6 | 367 | 9/24/2021 |
3.1.5 | 380 | 9/24/2021 |
3.1.4 | 507 | 8/24/2021 |
3.1.3 | 541 | 8/4/2021 |
3.1.2 | 473 | 7/30/2021 |
3.1.1 | 456 | 7/27/2021 |
3.1.0 | 434 | 7/27/2021 |
3.1.0-beta8 | 261 | 7/7/2021 |
3.1.0-beta7 | 256 | 7/6/2021 |
3.1.0-beta6 | 273 | 7/6/2021 |
3.1.0-beta5 | 269 | 7/5/2021 |
3.1.0-beta4 | 225 | 7/5/2021 |
3.1.0-beta3 | 315 | 7/1/2021 |
3.1.0-beta2 | 260 | 7/1/2021 |
3.1.0-beta1 | 251 | 6/15/2021 |
3.0.5 | 1,440 | 6/14/2021 |
3.0.4 | 563 | 5/5/2021 |
3.0.3 | 559 | 4/10/2021 |
3.0.2 | 817 | 12/8/2020 |
3.0.1 | 529 | 12/1/2020 |
3.0.0 | 570 | 11/27/2020 |
3.0.0-alpha9 | 302 | 11/26/2020 |
3.0.0-alpha8 | 288 | 11/25/2020 |
3.0.0-alpha7 | 317 | 11/25/2020 |
3.0.0-alpha6 | 313 | 11/22/2020 |
3.0.0-alpha5 | 275 | 11/20/2020 |
3.0.0-alpha4 | 298 | 11/20/2020 |
3.0.0-alpha3 | 281 | 11/20/2020 |
3.0.0-alpha2 | 473 | 11/11/2020 |
3.0.0-alpha1 | 278 | 11/11/2020 |
2.1.0 | 670 | 11/11/2020 |
2.0.4 | 1,851 | 11/9/2020 |
2.0.3 | 581 | 10/31/2020 |
2.0.2 | 1,016 | 7/31/2020 |
2.0.1 | 553 | 7/20/2020 |
2.0.0 | 733 | 7/12/2020 |
2.0.0-alpha | 335 | 7/7/2020 |
1.2.3 | 558 | 7/2/2020 |
1.2.2 | 535 | 6/29/2020 |
1.2.1 | 606 | 6/28/2020 |
1.2.0 | 607 | 6/23/2020 |
1.1.0 | 774 | 6/6/2020 |
1.0.10-alpha | 344 | 5/13/2020 |
1.0.9-alpha | 397 | 4/29/2020 |
1.0.8-alpha | 343 | 4/29/2020 |
1.0.7-alpha | 324 | 4/27/2020 |
1.0.6-alpha | 333 | 4/24/2020 |
1.0.5-alpha | 333 | 4/23/2020 |
1.0.4-alpha | 345 | 4/22/2020 |
1.0.3-alpha | 356 | 4/19/2020 |
1.0.2-alpha | 356 | 4/19/2020 |
1.0.1-alpha | 354 | 4/7/2020 |
1.0.0-alpha | 348 | 4/6/2020 |