Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrkmg/pondsharp
A web based C# driven simulator.
https://github.com/mrkmg/pondsharp
Last synced: 3 months ago
JSON representation
A web based C# driven simulator.
- Host: GitHub
- URL: https://github.com/mrkmg/pondsharp
- Owner: mrkmg
- License: mit
- Created: 2020-10-17T18:11:54.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-30T17:52:29.000Z (over 2 years ago)
- Last Synced: 2024-10-04T09:59:04.141Z (3 months ago)
- Language: C#
- Homepage:
- Size: 81.3 MB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PondSharp
====A tech demo of in-browser C# (.NET Standard) compilation and PixiJS WebGL.
**Who:** This project was made by [Kevin Gravier](https://github.com/mrkmg) and open sourced under the MIT License.
**What:** A simulation to tech demo in browser C# .Net Standard compilation and execution using
[Blazor](https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor),
[Bootstrap](https://getbootstrap.com/),
[PixiJS](https://www.pixijs.com/), and
[Monaco Editor](https://microsoft.github.io/monaco-editor/).**Where:** [https://mrkmg.github.io/PondSharp/](https://mrkmg.github.io/PondSharp/)
**When:** © 2020 Kevin Gravier (MIT License).
**Why:** This was made mostly out of curiosity of the ability to compile and run c# in the browser with Blazor. This may or may not turn into something more.
------
### Building/Developing Prerequisites
You need:
- This project cloned
- NodeJS and NPM installed
- DotNet 6.0 SDK## How to Run for Development
In a terminal, at the root of the solution run:
```bash
# change directory to the Client project
cd Client
# restore dependencies
dotnet restore
# build the project. Will also run npm install, and webpack build
dotnet build
# run the project...
# ...as Debug
dotnet run -c Debug --launch-profile Pondsharp.Client.Debug
# ...as Release
dotnet run -c Release --launch-profile Pondsharp.Client.Release
```Then open your browser to http://localhost:5500/
## How to build for Deployment
```bash
cd Client
dotnet restore
dotnet publish -c Release
cd ..
```You can then deploy the result of ./build/wwwroot to any web host. *You must
host it on a server, as wasm does not run when opened via file://*