Run a .exe on Cloud

Posted February 10, 2019 3.8k views


I’m starting on the cloud world now! Some people suggested use the Digital Ocean to run my application.
The problem is that, besides a site developed using Angular, my solution have a .exe, that runs like a sevice that receive data for devices, this exe is extremely important for my solution. My question is: Can I run a .exe (I used c# to develop it) on Digital Ocean enviroment?


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

DigitalOcean Droplets are all different linux distributions, which do not run .exe files (that is a windows executable file type). There are technically ways you could run an .exe on a linux system, but it’s not a particularly good idea, especially simply for moving data around.

Since you said you are the developer and therefore presumably have access to the source code, if it does not require any other windows-specific dependencies you should be able to recompile the C# source for use on a linux system.