WebSharperWebSharper Documentation

Build full-stack web apps in F# and C#

WebSharper compiles your .NET code to JavaScript and gives you type-safe client–server communication, a reactive UI library, sitelets, remoting and WebSockets — all from a single, strongly-typed code base.

$dotnet new install WebSharper.Templates

Get started

Go from zero to a running WebSharper project in three steps.

Install the WebSharper project templates:

dotnet new install WebSharper.Templates

Create a project — pick F# or C#:

dotnet new websharper-web -lang F# -n MyApp

Run it and open the printed URL:

cd MyApp && dotnet run

Follow the Getting started guide for the full walkthrough.

Browse the docs

Why WebSharper

Looking for the product site?

Features, examples and downloads live on websharper.com. These pages are the documentation for the framework and its libraries.