This repo uses:
.NET 8 (New MinimalAPI [FromForm]
model binding)
RazorSlices from Damian Edwards
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.