Electron.net: What exactly is it? NET wrapper on top of Electron?

Created on 3 Nov 2017  ·  7Comments  ·  Source: ElectronNET/Electron.NET

The homepage lacks the most important information... What is this exactly? I though tit was a .net alternative to Electron, turns out it's it's just Electron (JS-based yeah) with a web-app running on the background?

question

Most helpful comment

So - I added some notes to the Readme.md and hope it is now clear what it is. Feel free to comment here if you have some more questions.

All 7 comments

Valid point.

I quote my intro blogpost, which may show you the basic "communication"

The basic functionality is not too complex:

We ship a “standard” (more or less blank) Electron app
Inside the Electron part two free ports are searched:
The first free port is used inside the Electron app itself
The second free port is used for the ASP.NET Core process
The app launches the .NET Core process with ASP.NET Core port (e.g. localhost:8002) and injects the > first port as parameter
Now we have a Socket.IO based linked between the launched ASP.NET Core app and the Electron app itself - this is our communication bridge!

Currently it is a __Wrapper__ - __not a port__. We heard the feedback and I assume that many think Electron.NET is a port. I will open another issue how a port might look like and what the problems are. Some aspects and ideas are already mentioned in this issue.

I think we need to update the readme @GregorBiswanger

Anyway - thanks for your feedback 👍

Thanks! You should probable mention this on the home page to fix this issue

Have you guys considered using something like Bridge.Net (https://bridge.net/) to speed up the integration work?

I saw this project in combination with Retyped a couple of weeks back. There are lot of possibilities. The idea was to get a familiar environment for ASP.NET Core devs, this might not be ideal, but we are looking for feedback :)

Hi. Googled a bit more and I found these https://github.com/bridgedotnet/Widgetoko which seems closer to what I was asking about (something about it https://blog.bridge.net/widgetoko-a-node-js-and-electron-application-written-in-c-1a2be480e4f9).
Both approaches seem very interesting even though, in our case, the Widgetoko seems more interesting (we have an existing Electron/Angular/TS app).
Anyway, excellent initiative!

I wonder how much effort it would be to plug into electron to create a <script type="text/csharp" /> since that would perform better than compiling C# to JS

So - I added some notes to the Readme.md and hope it is now clear what it is. Feel free to comment here if you have some more questions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yoDon picture yoDon  ·  4Comments

robalexclark picture robalexclark  ·  6Comments

saad749 picture saad749  ·  6Comments

lyy0808 picture lyy0808  ·  6Comments

cdespinosaagmx picture cdespinosaagmx  ·  3Comments