Falco
open Falco
open Falco.Routing
open Falco.HostBuilder
webHost [||] {
endpoints [
get "/" (Response.ofPlainText "Hello World")
]
}
Falco is a toolkit for building fast and functional-first web applications using F#.
- 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.
- 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.Template - a .NET SDK project template to help get started with Falco quickly.
- Falco.Htmx - An experimental Falco integration with htmx JS package.
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.
All pull requests should originate from the develop
branch. A merge into this branch means that your changes are scheduled to go into production with the very next release, which could happen any time from the same day up to a couple weeks (depending on priorities and urgency).
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.