electron.NET
lets you build cross platform desktop apps with ASP.NET NET Core. Go here to learn more.
Questions tagged [electron.net]
51 questions
0
votes
0 answers
How can I access BrowserView DOM objects in Electron.NET?
I have an Electron App with a BrowserView in the main BrowserWindow. In the BrowserView, I load an external URL:
// main.js:
BrowserWindow mainWindow = new BrowserWindow(...);
BrowserView view = new…
![](../../users/profiles/14104006.webp)
Peter
- 11
- 2
0
votes
1 answer
Debug Renderer Process
I have just started to use Electron.NET / electronize and it works well.
But how can I debug the renderer process via Visual Studio Code?
In my plain electron application I can do it by adding --remote-debugging-port=9222 to the cli args.
How can I…
![](../../users/profiles/14080877.webp)
vianexus
- 1
0
votes
1 answer
Antivirus software blocks Electron.Net build
I'm trying to create a release build for my Electron.Net application via electronize build /target win.
But during the process, my companies antivirus software blocks the process because of an "Unauthorized file encryption". It seems to happen when…
![](../../users/profiles/14064688.webp)
Noel Röhrig
- 3
- 1
0
votes
0 answers
Handling custom protocol in MacOS (Electron.NET)
I am using Electron.NET and writing the app in C# (ASP.NET Core)
I need to handle the login token from the custom protocol (MyApp://) but I am unable to handle
the passed arguments to the app.
I have successfully registered the application as a…
![](../../users/profiles/2381775.webp)
Oli Řeháček
- 51
- 1
- 1
- 10
0
votes
0 answers
Electron set-cookies HTTP header
I have been creating an ASP app and experimenting with bundling it with Electron.NET.
The app works, the ASP controllers are all returning fine on localhost:8001, but none of the request are setting the cookies.
My app allows the user to login, so…
![](../../users/profiles/2137483.webp)
Luke T O'Brien
- 1,985
- 1
- 21
- 31
0
votes
1 answer
Electron.Net: How can i start a window in maximized mode?
I'm using electron.Net, but when I start the main window, It always opens small size aligned to the center.
This is my code:
public void Configure(IApplicationBuilder app, IWebHostEnvironment env) {
if (env.IsDevelopment()) {
…
0
votes
1 answer
Why speech recognition works in web page, but in electron not
I have a simple speech recognition app.
If I run it using a web server the microphone it is working.
If I run it using electron the microphone it is not working. I would mention that the problem is not my microphone because in logs I can see that…
![](../../users/profiles/6583140.webp)
Mihai Alexandru-Ionut
- 41,021
- 10
- 77
- 103
0
votes
1 answer
Debugging ELECTRON.NET app from VISUALSTUDIO 2019 - NETCORE 3.1
Im having a hard time trying to debug an ELECTRON.NET APP using visual studio 2019.
It is a ASP.NET CORE 3.1 MVC with RAZOR.
The app runs fine in ELECTRON, however when I attach the process to visual studio, the symbols are never loaed.
I´ve tried…
![](../../users/profiles/9536040.webp)
Paulo Costa
- 36
- 1
0
votes
1 answer
Blazor+Electron.NET app crashes on startup
I've built a Blazor server app hosted in Electron.NET and it works fine when I run it in the browser. After building it as a Windows executable it crashes during startup with the following error.
Is there a way to dig out more details about the…
![](../../users/profiles/627902.webp)
HeineSkov
- 449
- 1
- 5
- 17
0
votes
1 answer
Issue with icons and a change in the electron.manifest.json is resulting in a crash
In my asp.net core 3 electron.net app, when I leave the default electron.manifest.json, it builds and runs well but fails to use icons.
Icons are set as content with copy always attribute.
However when I try to change the product Id and related…
![](../../users/profiles/362261.webp)
John
- 533
- 1
- 8
- 25
0
votes
1 answer
Not able to get a desktop kind of a window
On windows, when I run the electron.net app see a desktop-style window. However, on a Mac, I see that the same app is being shown in a browser.
var browserWindow = await Electron.WindowManager.CreateWindowAsync(new BrowserWindowOptions
…
![](../../users/profiles/362261.webp)
John
- 533
- 1
- 8
- 25
0
votes
1 answer
How to generate a installer package for electronNET for Mac OS?
I have a Electron.NET app running on .net core 3. All works fine and I am able to generate a Windows .exe installer. Now I want to do the same for Mac. My questions are:
How do you build a installer package for Mac OS using
"electronize build…
![](../../users/profiles/137773.webp)
Shuaib
- 1,441
- 3
- 19
- 28
0
votes
1 answer
How to receive multiple arguments in Electron.net
I want to receive an ipcRenderer.send message with multiple arguments. The JavaScript looks like this:
document.getElementById("btn-submit").addEventListener("click", () => {
ipcRenderer.send("btn-submit",…
![](../../users/profiles/2557010.webp)
tmptplayer
- 279
- 1
- 11
0
votes
0 answers
How do I resolve HttpContext from a RegisterEvent to retrieve a View in a string in asp.net core 3and Electron.net?
I've tried Dependency injection, but that always gives me a HttpContextAccessor.Current or ActionContext as null because I'm not in a request state (I think). So how can I get this context to just take a view, transform it to a html string (with…
![](../../users/profiles/4627473.webp)
junta
- 161
- 2
- 12
0
votes
1 answer
Trying to publish ASP.NET Core React app with Electron.NET
So my understanding from the documentation to perform a publish is I need to call 'electronize build /target win'. This builds the project. However, there are some issues I'm unsure how to address.
The content path when I try to run it says the…
![](../../users/profiles/2927848.webp)
Chase R Lewis
- 1,669
- 14
- 33