Skip to content

Jennal/electron.net-flex

Repository files navigation

Electron with .Net Core flex

Electron.Net is a great project, but too heavy for me.

This project is totally inspired by Electron.Net.

I am familiar with Web tech (html/css/javascript) and C#. When I decide to build a desktop project, I would like to use these tech. Then I found Electron.Net. It is great, but can only work with ASP.NET base project, which means bad startup time, maybe 10s+. It is not acceptable for me. And the other problem is, you can't edit electron project main.js. It is not flexible for me. So I decide to build a more flexible project to do the same thing.

Structure

  • Electron : UI Display, parent process of C#, C# talk to electron by stdout, which means C# can call electron nodejs code
  • WatsonWebServer : Web Content/API Provider
  • WatsonWebSocket : Communicate between Web Content and CSharp Logic, which means Web Content can call CSharp code, and CSharp code can call Web Content javascript code

All features mentioned above are still under construction.

Requirement

How to Use

Run following command in command line

dotnet new -i ./

Then you can use following command to create new project from this template

dotnet new electron-flex

License

MIT-licensed

Enjoy!

About

electron ui with c# logic

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages