electron.NET
lets you build cross platform desktop apps with ASP.NET NET Core. Go here to learn more.
Questions tagged [electron.net]
66 questions
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…

junta
- 201
- 3
- 13
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…

Chase R Lewis
- 2,119
- 1
- 22
- 47
0
votes
1 answer
Electron.NET: How to add menu?
For example: the default menu is
File, Edit, View, Window, Help
I’d like to add my menu item + subitems
File, Edit, View, Tools (Options, Customize), Window, Help
How to do it?
When I do as in example:
var menu = new MenuItem[]
{
new…

ZedZip
- 5,794
- 15
- 66
- 119
0
votes
1 answer
Why my electron app not run in any windows?There must be a logical explanation for the failure
When I run the app on Windows, I get a spinning loader for 1-2 sec. and then nothing happens. The app, when running properly, shows an icon in the task bar and opens a browser window for the user to login.
I'm using electron-log, but nothing is…

Sultan
- 701
- 1
- 6
- 19
-1
votes
1 answer
Logging in the C# classes using Electron-Log
In my Asp.NET Core 3 Electron.NET web application, I'm using Electron-Log npm package to carry out the logging.
I'm able to log in the script section like this:
const log = require('electron-log');
log.info('Hello, log');
log.warn('Some problem…

John
- 693
- 1
- 12
- 37
-2
votes
1 answer
How do you build an Electron.Net app for ubuntu platform?
I am trying to build a project with Electron.Net for Ubuntu 20.04 (64 bit).
I can build the same project fine for windows with "electronize build /target win"
I have tried "electronize build /target custom ubuntu.20.04-x64;ubuntu /electron-arch…

Arijit
- 1
- 1