https://github.com/Elringus/DotNetJS
Install .Net 6. Open command prompt, cd to WebAssemplyDemo\WebAssemblyTest run
dotnet publish
Copy dotnet.d.ts and dotnet.js from WebAssemplyDemo\WebAssemblyTest\WebAssemblyTest\bin to WebAssemplyDemo\src\assets
Go to root directory WebAssemplyDemo
Run angular project in the command prompt with
ng serve -o
Open Console in browser and click test button