Full stack web apps with F# and Bolero
Using the Elmish Architecture and F# with Bolero to develop full-stack web applications with .NET and Web Assembly
Updated: 03 September 2023
Bolero is a framework for building full stack web application using F# on the server in .NET and in the browser with WASM and is based on Blazor and makes use of the Elmish application architecture
Create a new app
To create a new Bolero application you need to:
- Install .NET CLI templates
- Create an app
To create an app with server and client you can use:
This will output the following:
You can then build the app with:
Or run it using:
Which will automatically use the hot reloading for the HTML
template files
If you want full rebuilding on changes you can use dotnet watch
like so: