Home > database >  How yo build a DESKTOP app with c# and react?
How yo build a DESKTOP app with c# and react?

Time:09-11

I want to create a DESKTOP app with a .exe using Visual studio template C# and react. It is possible to do that or this is just to create web apps?

If it is possible, please I need yo know how to do it. Thanks. Template here]1]1

CodePudding user response:

You have two choices, depending on what you want to do --

If you are all about HTML/JavaScript and using it to design user interfaces, use the electron framework:

https://en.wikipedia.org/wiki/Electron_(software_framework)

If you really want to use react then you can't use a EXE you should instead use react and have it accessed by a browser locally via a local URL (technically there is still an EXE that will need to run since nodejs runs on an executable.)

CodePudding user response:

The thing is that I want to create a Desktop app with C# as backend and React as frontEnd. I know that is possible to combine this in web apps but I dont know how to do it for a desktop app.

  • Related