Answer the question
In order to leave comments, you need to log in
What is the best way to write desktop applications?
I make applications in C# WPF, but for a long time I wanted to write desktop applications with html / css markup.
Now I'm reading articles on NW.js and Electron and a lot of positive feedback. And there are many articles about WPF that it is dying out.
What would you recommend for desktop development and can you post links?
What would work quickly and preferably on html / css / javascript.
Answer the question
In order to leave comments, you need to log in
electron, nw.js are not desktop applications. These are sites opened in a browser running inside node.js, executing your js code inside a virtual machine, translating it into bytecode, from which it is compiled into native.
That's not what we should call a usual 'desktop' app.
Electron without options. For example , Visual Studio Code is written on it.
WPF does not die, this is a native application, in any case it will spend less resources, and the final file will weigh less in most cases. If you want js + html, then Electron, although the differences from nw.js are not so big, the main difference is that it launches the application through a js file + good support and development. Both NW.js and Electron have almost the latest version of node and chromium (my choice is still Electron)
If only on Windows then WPF. If cross-platform - Electron or Qt
Although, if something simple under Windows, then maybe Windows Forms
On native languages - C # is quite an adequate tool. Desktop apps with HTML/JS are very fat and slow. If you do, then the best choice would be NWJS (excellent documentation, new versions are constantly released with bug fixes and updates, new features, developers are open to dialogue with users, there is nothing superfluous, a large community). I do not advise Electron - because it is less stable (there is a sad experience of trying to use it in production) and plus there are bugs that will not be fixed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question