Electron .Net Core for local running application


#1

I’m looking for advice on how realistic it is to use electron with a .NET Core server running in the background. I need to develop a cross platform stand alone application.

I would use node and electron exclusively but I need some access to system level resources I cannot get with node and electron. I know I am going to incur the penalty in latency between the main electron app and the .NET Core server, but are there any other concerns other than that latency if running locally? Is this just a dumb solution and i should be approaching it some other way?


#2

Node and Electron can access native platform APIs via native Node modules, or node-ffi. If the APIs you wish to access are in .NET assemblies you can use EdgeJS instead. Running an HTTP server should be the last resort as it can provide an attack vector for malicious web sites.