Skip to content
Proyek

Tentang

WebSharper — aplikasi web dan microservice full-stack yang fungsional dan reaktif dalam F# dan C#

Pengembangan web dan aplikasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
+1
dalam 15 hari
+1
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

WebSharper

WebSharper is a web programming platform including compilers from F# and C# code to JavaScript. WebSharper is open source under the Apache 2.0 license and is developed by IntelliFactory, with contributions from the community.

For building or contributing to this repository see CONTRIBUTING.md.

Links

Quick start

To create a new F# web project from the templates and run it locally:

dotnet new install WebSharper.Templates
dotnet new websharper-web -lang F# -n MyWebSharperApp
cd MyWebSharperApp
dotnet run

The dotnet new websharper-web template includes Startup.fs / Startup.cs showing the recommended hosting setup:

app.UseWebSharper(fun ws -> ws.Sitelet(Site.Main) |> ignore)

where Site.Main is your main sitelet. See the documentation on sitelets on how to define sitelets, which is the main abstraction for routing and serving pages of web applications in WebSharper.

For further project types and how to add WebSharper to an existing project, see the Getting Started page.

Related repositories

  • Docs - Documentation for WebSharper.
  • WebSharper.UI - A library for building reactive user interfaces in WebSharper.
  • WebSharper.Templates - Project templates for WebSharper.
  • MVU - A library for building applications in the Model-View-Update architecture style based on `WebSharper.UI.
  • Build scripts - Contains common build helpers and GitHub Actions workflows.
  • Extensions: See the dotnet-websharper organization for many more repositories with extensions wrapping popular JavaScript libraries and frameworks such as WebSharper.React.

Jelajahi proyek terkait

Memuat…