Skip to main content
net6.0

Use this template to set up a .NET 6 / C# 10 solution containing a WASM web client as well as an OpenAPI server.

Published
Sep 9, 2021
5y ago
Total Downloads
4.3K
4,293

Install

dotnet add package SoEng.WASM-Client-Server --version 1.0.0
ProductVersions
.NET
net6.0

README

What is this package for?

This NuGet package contains a template for a solution with three projects: An OpenAPI server, an automatically generated API client for C# and a web client. The web client uses HTML5, CSS, Bootstrap and C# 10 / .NET 6 as a WASM app. Server and webclient are equipped with logging and I18N. Several Python scripts are included to simplify the processes of building. The whole project is compiled as a single file, embedding the web client as well. The template contains a detailed readme file.

How to start?

In order to start a new project based on this template, follow these steps:

  • Create a new directory named by your project, e.g. MyIdea
  • Open a terminal at this directory
  • (Online) Execute dotnet new -i SoEng.WASM-Client-Server (you need a Internet connection to use nuget.org)
  • (Offline) Execute dotnet new -i PATH/TO/SoEng.WASM-Client-Server.x.x.x.nupkg (replace x.x.x with your version)
  • Open the README.md to know how to proceed with the initial setup
  • Open the MyIdea.sln solution to get started

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.