Electron.NET icon indicating copy to clipboard operation
Electron.NET copied to clipboard

Ability to launch HTTPS (SSL) URL

Open jcb871 opened this issue 5 years ago • 1 comments

Though the Electron.NET provides option to configure the port number to launch, it seems like http://localhost is hardcoded in Electron.NET. Could you please add an option to configure Electron.NET to launch the ASP.NET Core app with HTTPS URL?

I am developing a Blazor app with built-in Grpc service. It requires the service/web app to run in SSL mode (https URL) in order to consume from the web app.

This is asked in Gitter also but did not see that is answered. Please let me know if you can provide any pointers.

jcb871 avatar Jan 12 '21 15:01 jcb871

I might be missing something, but this works for me:

Task.Run(async () => await Electron.WindowManager.CreateWindowAsync(loadUrl:"https://google.com"));

mxmissile avatar Feb 05 '21 21:02 mxmissile