Cashier implemented in Blazor
The live application is available at https://cashier-ii.alensiljak.eu.org
Clone the repository.
Prepare the JS client libraries. In npm directory, run
npm i
copy_libs.cmdThen go to src/Cashier and execute
dotnet watchto utilize the hot reload for Blazor WebAssembly.
Other potential options are:
dotnet runor
dotnet watch runTo debug the Blazor application, select Edge as the browser in Visual Studio. Run/Debug the Cashier profile from Visual Studio.
TODO: bUnit + Playwright
E2E tests are conducted using Playwright.
Go to the tests directory in the root of the repository and run the tests there.
Go to src/Cashier.Tests.E2E and run
set HEADED=1
set BROWSER=firefox
dotnet testor
dotnet test --settings test.runsettingsCreate tests with Codegen:
pwsh bin/Debug/netX/playwright.ps1 codegen localhost:5000Run the publish.cmd script. It will run the command below.
Build the optimized, Release, version of Cashier Blazor Webassembly app:
dotnet publish -c ReleaseRun Netlify CLI to deploy.