Show HN: F# web server in 3-4 lines of code

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • Mergify - Updating dependencies is time-consuming.
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Giraffe

    A native functional ASP.NET Core web framework for F# developers.

    You don't have to use directly in F# - there's been a long-standing library wrapping it in a more functional aesthetic with Giraffe:

    Not to discourage you or anything - always good to see alternatives. Personally, for FP web programming, the closer to the "your server as a function" ideal the better - so I'd prefer Giraffe in this case, for things like the router being an HttpHandler instead of being a property on the app. It's just way more intuitive from an FP standpoint and produces neater, more self-contained code, IMO.

  • wiz

    The F# web framework designed for clarity and speed (by samueleaton)

    > Every time I tried to write something quickly, I often had to choose between a heavily functional programming oriented frameworks or extremely tedious ASP.NET Core.

    I had the exact same sentiment last year. made

    I hated going through all the microsoft dotnet docs. Wanted something like this:

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

  • WebFrame

    F# framework for rapid prototyping with ASP.NET Core.

  • Saturn

    Opinionated, web development framework for F# which implements the server-side, functional MVC pattern

  • Falco

    A toolkit for building fast, functional-first and fault-tolerant web applications using F#. (by pimbrouwers)

  • dark

    Darklang main repo, including language, backend, and infra

    This is really nice. For comparison, this is what using ASP.NET directly in F# is like:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts