Refer to the README doc for preparation.
Use Java App Sample.
NOTE: If you use GitHub Codespaces, make sure that the Java app port,
8080, is set to public.
-
Get the repository root.
# bash/zsh REPOSITORY_ROOT=$(git rev-parse --show-toplevel)
# PowerShell $REPOSITORY_ROOT = git rev-parse --show-toplevel
-
Run the app.
dotnet watch run --project $REPOSITORY_ROOT/complete/dotnet/Contoso.BlazorApp -
Verify if the web application is running properly.