question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:

  1. 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");

  2. 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
GregorBiswangercommented, Oct 25, 2020

i am currently working on improving communication.

0reactions
Gaulomaticcommented, Oct 25, 2020

That’s great news, thank you.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found