SvelteMinimalApi Svelte Themes

Svelteminimalapi

SvelteMinimalApi

This repo uses:

.NET 8 (New MinimalAPI [FromForm] model binding)

Svelte

RazorSlices from Damian Edwards

Usage

This app uses .NET 8 Minimal API to return a Razor View which then uses Svelte components that are built via call tonpm build target in the *.csproj.

A Svelte component renders a form and POSTs data to a route defined on the server via MapPost.

The form rendering and submit feature takes advantage of .NET CSRF functionality.

Top categories

Loading Svelte Themes