Questions tagged [electron.net]

electron.NET lets you build cross platform desktop apps with ASP.NET NET Core. Go here to learn more.

66 questions
0
votes
0 answers

when electron.net build on win64 and target to linux x64 goes wrong

enter image description here it always reports error: cannot execute cause-exec: C:\Users\WT\AppData\Local\\electronbuilder\Cache\'apppimage\appimage-12.0.1\linux-x64\mksquashfs": file doesnot exist i built it success on win64 when target is win64,…
0
votes
0 answers

Error path null in .NET Core webapp with FMData (DI) when used in ElectronNet - electronize

I have an C# .NET Core 6 webapp with FMData nuget package that works fine if launched in IIS. However if I try to "Electronize" it the app does not work (white screen). Removing FMData DI from constructor of controller (removing IFileMakerApiClient)…
Roman Dulak
  • 51
  • 1
  • 6
0
votes
0 answers

How do I create a program that has a GUI coded with HTML, CSS, and JavaScript, and handles all the logic in C#?

I currently have a C# console application. I created a GUI for this application using HTML, CSS, JavaScript, React, and Electron, but I have no idea how to connect them together. I want everything to be able to be done from within the GUI, so I do…
0
votes
1 answer

How to use Electron.NET to wrap an ASP.NET Core Single Page Application

I created a SPA with ASP.NET Core and react/typescript by following this blog post: https://www.nolanbradshaw.ca/net-react-typescript-template While debugging the project I use the following in my launchSettings.json "MySPA": { "commandName":…
0
votes
1 answer

Electron.Net icon not used

I tried the following to set my custom icon for Electron.Net application (it is a Blazor application). I tried pretty much any absolute path / relative path combination I could think of, nothing helped... For some reason, the icon (both in main…
neggenbe
  • 1,697
  • 2
  • 24
  • 62
0
votes
0 answers

Electronnet: Include localized resources for mac and linux

I try to build an electron package for Linux and Mac: electronize build /target osx /PublishSingleFile false Within my bin directory, localized resources for "nl" are included. However, after the build, the resources doesn't seem to be part of the…
Ton Snoei
  • 2,637
  • 22
  • 23
0
votes
1 answer

How to add custom Java script code to ElectronHostHook in electronnet asp.net mvc

I am trying to add this code snippet to the wed apis demo project but I tried and failed and there isnt much documentation on how to do it. var os = require("os"); var bytesAvailable = os.totalmem(); // returns number in bytes // 1 mb =…
0
votes
1 answer

How can I set the filename of the created .deb file when building my Electron.NET application for Linux?

This is my electron.manifest.json { "executable": "MyApplication.UI", "splashscreen": { "imageFile": "/wwwroot/assets/Animation.svg" }, "author": "MyCompany", "environment": "Production", "singleInstance": false, …
Marco Siffert
  • 535
  • 1
  • 6
  • 22
0
votes
0 answers

How to display a Modal popup in a Blazor Server Application

I am creating a Blazor Desktop Application. For this I am using Blazor Server Application with ElectronNET.API. I have been trying to launch a modal popup upon clicking a button or a menu item. I tried using CreateWindowAsync(BrowserWindowOptions…
0
votes
1 answer

Disable AutoUpdater default notifications, or improve them to use display names instead of AppID or system-calculated names

The ElectronNET AutoUpdater seems to be posting notifications to Windows that I haven't asked for. Along with the ones I did ask for, I now have duplicates (from the perspective of my QA people). To make matters worse the default messages use the…
Richard Hauer
  • 1,298
  • 9
  • 22
0
votes
1 answer

Electron.Net default menu shows before click, then custom menu loads

I'm using Electron.Net to wrap an ASP.Net MVC webpage, and I'm currently trying to replace the default menu. I've got a custom menu working, and the code is replacing the menu. But when the program is run using electronize start, the default menu…
Marf Bot
  • 55
  • 1
  • 7
0
votes
0 answers

Electron.NET Tray Icon - Click to show app instead of opening tray menu

C# Blazor with Electron.NET Tray icon opens tray menu regardless of if it's right or left click. How do I disable opening the menu when it's a normal (left) click and make it just show the app instead? This is what I want to happen when the tray is…
BillyBoy
  • 11
  • 3
0
votes
1 answer

How can i display System Tray or App Icon with electron

Iam trying to add a App Icon to my Electron.Net Application but the Icon isn't Displayed in the Taskbar / System Tray, What i did: in electron.manifest.json i have "linux": { "icon": "../../../wwwroot/build/icons/256x256.png", …
0
votes
1 answer

How to start Electron.NET blazor app on windows start?

I am working on a project that uses Electron.NET and Blazor. I am looking for a solution how to start it automatically on OS(Win || MAC || Linux) start. ElectronNET.API -> Version="9.31.2" .NET Version = netcoreapp3.1
0
votes
1 answer

Custom Window With (min,max,close buttons) In Electron.Net App with Asp.net or Blazor

I have Converted My Asp.Net Core / Blazor Application To Electron App. But I NeedFrameless Windows So That I can Customize My Application Window I am Using this Code To Make It Frameless public async void Bootstrap() { var options = new…
DEEP SECRETS
  • 83
  • 2
  • 8