Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smack0007/wasmcsharp
My take on the WasmAloneLab from praeclarum
https://github.com/smack0007/wasmcsharp
Last synced: 20 days ago
JSON representation
My take on the WasmAloneLab from praeclarum
- Host: GitHub
- URL: https://github.com/smack0007/wasmcsharp
- Owner: smack0007
- Created: 2020-10-30T14:51:16.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-04T12:40:25.000Z (about 4 years ago)
- Last Synced: 2024-11-07T11:48:01.596Z (2 months ago)
- Language: HTML
- Size: 4.88 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# WasmCSharp
My take on the [WasmAloneLab](https://github.com/praeclarum/WasmAloneLab) by
[@praeclarum](https://github.com/praeclarum).## Building
The project makes the assumption the the [mono-wasm SDK](https://github.com/mono/mono/blob/master/sdks/wasm/docs/getting-started/obtain-wasm-sdk.md)
is in the directory mono-wasm on the same level as this project. Can be changed
by editing the csproj file and changing the value of the `WasmSDKPath` variable.Build the project with `dotnet build` or via Visual Studio and the `packager.exe`
from the mono-wasm SDK will be run and places the output in the `publish` directory.## Run
There is a serve.cmd which uses [dotnet-serve](https://github.com/natemcmaster/dotnet-serve)
to spin up a web server for serving the output. After starting the server
go to http://localhost:8080 to see the output.The example here only writes to "Hello World from WASM!" to the console.