mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
Getting blazor error UI while using electron #430
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MordechaiHadad on GitHub (Dec 12, 2019).
Description: Today I have decided to use electron.NET with blazor server, I have followed this tutorial and it worked fine.
Now when I started my app again to after some things I have added to my project and I got this issue in the console
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect.I have decided to debug it IIS Express and I got no issues at all.To try to fix I have tried to:
Remove things from the original project.
Create a new project, follow the tutorial and without changing anything and adding any code to the project use
electronize start.Electron.NET Version: Latest
.NET Core: Latest
Node.js and npm Version: Latest
Blazor Type: Server
Steps to Reproduce:
electronize start@MordechaiHadad commented on GitHub (Dec 13, 2019):
Okay a little update today it seems to work like it should but I didn't change or touch anything, you guys should look into it.
Maybe its a problem with blazor/.NET core itself?
@robertmclaws commented on GitHub (Dec 15, 2019):
Yes this is a Blazor issue not an Electron issue. You should probably close it.
@MordechaiHadad commented on GitHub (Dec 15, 2019):
How is that a Blazor issue if when using Blazor normally I didn't get this problem?
@robertmclaws commented on GitHub (Dec 16, 2019):
Because I believe that the HttpRedirectMiddleware is running inside your server project, in which case it is not specific to Electron.NET. It is indicating that your launchSettings.json file has incorrect settings.
@MordechaiHadad commented on GitHub (Dec 16, 2019):
Hmm but now without changing anything it works fine for me no errors no something running smooth even as Electron window.