The Edge.js project enables you to run Node.js and .NET code in one process
Questions tagged [edgejs]
56 questions
0
votes
1 answer
How to access DLL file with Edge.js
I want to access the OpenHardwareMonitor DLL file with node.js using the edge.js module and monitor the computer's CPU and GPU temperatures. I created a C# console application in Visual Studio and added the DLL file to the references. When I ran the…

Didem
- 63
- 1
- 4
- 10
0
votes
1 answer
edge-js build failing with nw-gyp
Description
I want to use edge-js with nw.js. And as edge-js is not pure js package , I have to rebuild it with nw-gyp to get it working.
(https://github.com/nwjs/nw.js/wiki/using-node-modules)
Tried to re-build edge-js with nw-gyp, but facing…

Deepak
- 1
0
votes
1 answer
process.env.EDGE_APP_ROOT what is?
I'm almost done refactoring code taken from here:
https://github.com/agracio/edge-js-quick-start
I've added two classes that handle repeatable code, but I'm stuck in two lines of code. I can't for the life of me figure out what they do. I also don't…

Michael Effraimidis
- 79
- 9
0
votes
0 answers
System.Drawing not supported with ASP NET CORE & Electron EDGE JS
We are building an app(Actually converting) with electron & asp net core in which we came across an issue
"System.Drawing is not supported on this platform.". We are using Electron EdgeJS for making server side call from electron…

selva
- 184
- 2
- 3
- 16
0
votes
0 answers
EdgeJS makes an Async call without accompanying Await
I am looking into solutions to call some C# code from within my NodeJS application. I came across EdgeJS, which seems to make this possible. However, I came across part of their code that is confusing to me, because I see an async keyword without an…

Banon
- 53
- 6
0
votes
1 answer
Error: Invalid IL code in SDK.Service:.ctor (): IL_001d: pop
I'm working with edge-js in my nodejs project. I added dll file and import it like this:
getHID = edge.func({
source: function() {/*
using System.Threading.Tasks;
using SDK.DataModel;
using SDK;
public class Startup
{
…

hosein2rd
- 45
- 10
0
votes
1 answer
Is there A way to execute/reference Native code in the browser using React Js?
We have a code base written in C++ and a code base written in C#.net that works as expected, however I am tasked to execute/reference this code in a react application at runtime, I read about WebAssembly and Edge js, got an idea about the matter but…
0
votes
1 answer
Microsoft Outlook 2013 Interaction from Electron JS Desktop App
Have a requirement, where I need to connect to installed Microsoft Outlook Application and perform the following tasks:
Create/Read/Update/Delete Outlook Calendar Events
Create/Read/Update/Delete Outlook Contacts
Need to sync these entities with…

UzUmAkI_NaRuTo
- 565
- 3
- 8
- 20
0
votes
1 answer
Can't resolve 'fs' or 'path' Edge-js and Angular
I am making an Electron Angular app using electron-edge-js to avoid having to run a server to transition between angular and C# code. The app works as long as I don't actually call edge to do anything, but fails (at build) with:
Module not found:…

Schizoreindeer
- 229
- 1
- 3
- 9
0
votes
2 answers
How to troubleshoot "cannot post" in node.js
I'm having difficulty with a simple node application using Node, Mongo, Express and Edge for views.
When I attempt to provide data via form in views I get the following message.
"Cannot POST /dash/date/create"
I have a feeling it has something to…

Aaron Toliver
- 187
- 1
- 3
- 16
0
votes
1 answer
AdonisJS single route won't open
I've made this project with AdonisJS, this is PlaceController file content:
async create({
view
}) {
return view.render('places.new')
}
and this is view file path: views/places/new.edge which is a simple static HTML file.
and the…

l3est
- 407
- 2
- 4
- 16
0
votes
0 answers
PUT front-end in RESTful api
I'm making a simple website with an api using node, express, and mongo with a simple edgejs for front-end. All routes are working in postman (GET, POST, PUT, DELETE). However, HTML5 does not support the PUT method. Here is one example.
Index.js
...…

Aaron Toliver
- 187
- 1
- 3
- 16
0
votes
1 answer
Edgejs with node application not running on Mac computer
I have node application using Edgejs module to run some .net dll. My application is running on Windows machine but when run same application on Mac computer I get following error:
CoreClrEmbedenter code hereding::Initialize - Could not resolve
…

Dharam
- 469
- 2
- 9
- 23
0
votes
1 answer
How to pass a complex CLR object returned by one EdgeJS call to the next EdgeJS call
I have a C# library with a Login() method that returns an HttpClient which is to be used in subsequent calls (to get more pages after login).
In a C# app I would make a Login() call, save the returned HttpClient and then make as many calls as I want…

Nicolae Daian
- 1,065
- 3
- 18
- 39
0
votes
1 answer
ERR_CONNECTION_RESET error when calling Edge.func in C# async method through POST service
I have also raised an issue in the github pages for Edge, linked here
https://github.com/tjanczuk/edge/issues/579
I am trying to utilize Edge in my .NET application to run a quick node program to do some minor video processing.
I have verified that…

Upamanyu Sundaram
- 139
- 2
- 7