Skip to content

celsojr-websters/DotnetWasm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET WebAssembly Browser app

DotnetWasm CI

Build

You can build the app from Visual Studio or from the command-line:

dotnet build -c Debug/Release

After building the app, the result is in the bin/$(Configuration)/net8.0/browser-wasm/AppBundle directory.

Run

You can build the app from Visual Studio or the command-line:

dotnet run -c Debug/Release

Or you can start any static file server from the AppBundle directory:

dotnet tool install dotnet-serve --global
dotnet serve -d:bin/$(Configuration)/net8.0/browser-wasm/AppBundle

How to test with Playwright

In first console

dotnet run --project ./src/DotnetWasm.csproj

In second console

dotnet build test\PlaywrightTests.csproj
pwsh test/bin/$(Configuration)/net7.0/playwright.ps1 install
dotnet test test\PlaywrightTests.csproj

About

Dotnet WASM minimal template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 78.9%
  • JavaScript 13.2%
  • HTML 7.9%