KuryKat
KuryKat
CC#
Created by KuryKat on 5/30/2024 in #help
Trying to use Electron.NET with Blazor Web App
When I tried creating a Blazor Web App and implementing Electron.NET into it, all I would get was a "White Screen of Death" :catree: I tried several steps that I saw on the internet, but none would lead me anywhere :catsweat: most were still using the (Normal) Setup with Program.cs + Startup.cs and I'm using only the Program.cs (Minimal) Setup since it is the one that comes with the latest Blazor templates :catthinking: but I couldn't find any useful documentation or examples for the Electron.NET usage :catlost: (Which is kind of a downer :catgasp: it seems like a great thing to use for creating Desktop Applications with Blazor but there's so little information about it...) The thing is... after hours of failed attempts to fix the issue... I saw someone saying that using the Blazor Server App fixed it to them, so I tried it and... It worked! :catfine: But I wanted to know... in case I don't want to use the Server App, for some reason, what should I do to make Electron.NET work with the Web App? :catderp: šŸ“ Note: I know I could try using .NET MAUI but it does not work for Linux, and I wanted a solution that could give me an application for the three main platforms (Win + mOS + Lin) in order to be fully Multiplatform :catlaugh: Why does a Multi-platform framework does not work for one of the platforms?!:catlul:
2 replies