Downloads

Create your WebSharper project quickly.

There are several ways to get started with WebSharper.

WebSharper also has many bindings for popular JavaScript libraries. Download them from NuGet.

Using the dotnet CLI

The WebSharper dotnet templates can be used to create ASP.NET Core-based projects.

Install the WebSharper project templates

To install the WebSharper project templates, use the following command:

To update the templates to the latest version, you can use:

Create a new WebSharper project

You can create multiple types of project, both in C# and F#.

  • The Web template creates an ASP.NET Core-hosted WebSharper application with both server-side and client-side code. Create it with:

    C#:

    F#:

  • The SPA template creates an ASP.NET Core-hosted Single-Page Application. Create it with:

    C#:

    F#:

  • The Library template creates a simple class library compiled with WebSharper. Create it with:

    C#:

    F#:

  • The HTML template creates a statically-generated website. Create it with:

    C#:

    F#:

Using Visual Studio

The WebSharper Visual Studio templates can be used to create .NET 4.x or ASP.NET Core-based projects.

Download WebSharper for Visual Studio

The WebSharper project templates are available in the New Project window under "Visual C# / WebSharper" and "Visual F# / WebSharper".

Where to go next?

Learn how to use WebSharper:

Engage with the community:

Happy coding!