A simple project demonstrating how to spawn a Blazor Server app from Electron as well as providing server logs directly in the Electron app.
Blazor Server App:
Press Alt+CommandOrControl+L
to show the server log:
The blazor-server-app
folder is just a vanilla Blazor Server project.
- Node [https://nodejs.org/]
- .NET 5 [https://dotnet.microsoft.com/]
- Clone the code repository.
- Open terminal to code repository.
- Run
npm install
. (See Dependencies above) - Run
npm run start
to start the application.
NOTE: The Blazor Server app uses a self signed certificate and Electron has been configured to ignore certificate errors and turn off strict SSL. This configuration is not suitable for production.
Frank Hale <[email protected]>
Updated on: 16 January 2021
MIT - see LICENSE