Skip to content
vm1 assemble/execution environment in web assembly with Blazor
HTML CSS C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Pages
Shared
wwwroot
.gitignore
App.razor
Program.cs
README.md
Startup.cs
_Imports.razor
blazorvm1.csproj

README.md

Blazor VM1

  • The project is to compile and run a vm1-assembler and vm1-console (vm) @ https://github.com/sokoide/vm1 in a browser in web assembly usinb Blazor WASM.

How to build

# only once
dotnet add package MatBlazor

dotnet build

# to make a release build
dotnet build -c release

How to run

# debug run
dotnet run
# and visit http://localhost:5000 to see it

# to detect file changes and restart automatically
dotnet watch run

# to run a release build
dotnet run -c release

How to debug

  1. Run the app dotnet run -c debug
  2. Open Chrome /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 http://localhost:5000
  3. In Chrome, focus on the app content and ```Shift-Cmd-D`` to open DevToos
  4. Split the tab and show the content and DevTools side by side
  5. Navigate to file://, open your target source and set a breakpoint
  6. Operate in Chrome until it hits the breakpoint

How to publish

  • To publish in a publish directory
dotnet publish -o publish -c release
You can’t perform that action at this time.