protected override void OnStart() { if (ContextHelper.IsElectronNET()) { return; } WebApplicationFactory.StartWebServer(); }
protected override void OnResume() { if (ContextHelper.IsElectronNET()) { return; } WebApplicationFactory.ResetBlazorViewIfHttpPortChanged(); WebApplicationFactory.StartWebServer(); }
protected override void OnResume() { if (ContextHelper.IsElectronNET()) { return; } bool needReload = WebApplicationFactory.ResetBlazorViewIfHttpPortChanged(); WebApplicationFactory.StartWebServer(); if (!needReload) { //As the previous event can fire a reload too, we just check that a reload is not already pending, //preventing to call the WebView reload twice WebApplicationFactory.NotifyEnsureBlazorAppLaunchedOrReload(); } }
protected override void OnResume() { WebApplicationFactory.StartWebServer(); }
protected override void OnStart() { // Handle when your app starts WebApplicationFactory.StartWebServer(); }
protected override void OnResume() { WebApplicationFactory.ResetBlazorViewIfHttpPortChanged(); WebApplicationFactory.StartWebServer(); }