Ipc is not working with a Blazor Server project
See original GitHub issue- Version:
Currently using the latest version of Electron.NET with Blazor Server & .NET Core 3.1 And building the project for Windows
I have multiple razor pages but I cannot have the communicate works between them via Ipc
Steps to Reproduce:
-
Created a razor page and with button and having a handler so when I click the button I send the following message like that
var window = Elelctron.WindowManager.BrowserWindows.FirstOrDefault();
Electron.IpcMain.Send(window, "message", "Hello");
-
In another razor page I’m calling the on Method to listen to the ‘message’ channel and respond by showing an alert But when I click the button nothing is happening
Thanks
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Inter-Process Communication in dotnet 5/6
I am developing a new project in Blazor WebAssembly with .NET 5, this ASP.NET Core hosted service (server part of Blazor app) will...
Read more >ASP.NET Core Blazor dependency injection
Learn how Blazor apps can inject services into components.
Read more >DialogService does not work from Electron.Net
I'm using a server-side Blazor in an Electron.Net app. I created an application menu in a C# class with an on-click event to...
Read more >Blazor Hybrid Web Apps with .NET MAUI
Blazor apps rely on multiple frameworks from different vendors and communities and performance is not that of .NET running on the native operating...
Read more >Electron ipc tutorial. Copy the … While building apps with ...
Fire up a terminal and run npx create-react-app . js projects; Next Steps Creating a ... 0 Electron secondary window not receiving IPC...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i am currently working on improving communication.
That’s great news, thank you.