mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
Create Window #186
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 @kwakuduahc1 on GitHub (Jun 10, 2018).
Originally assigned to: @GregorBiswanger on GitHub.
Hi guys, whenever i do a
, it creates the window alright but it is always empty.string path= "path to a controller action that renders a view";
await Electron.WindowManager.CreateWindowAsync(path)
Thanks
@GregorBiswanger commented on GitHub (Jul 22, 2018):
@kwakuduahc1 you need the complete URL to your action.
As example to HomeController and FooBar action:
string path = $"http://localhost:{BridgeSettings.WebPort}/Home/FooBar"@kwakuduahc1 commented on GitHub (Jul 22, 2018):
Thanks
@KIheme commented on GitHub (Sep 22, 2020):
Thanks for this reply, but what if i want to create a new window without localhost running? How can i achieve this