How to compile software through a website?

Asked

Viewed 93 times

0

I’m making a website where one can create software through it. But my question is: How to do this in an automated way?

The proposal would be that the software would be made in WPF and the code would be customized from a lot of switch-case and if-else and then it was compiled on the server and the client could download the executable.

  • Is there any way to make my website code C#?

  • What technologies should I use?

The back-end is being done with the , but this can be changed as needed.

  • 4

    The question is wide, basically you want all the architecture of a complete software. It doesn’t even have details of how this would occur. I don’t know what WPF has to do with website. I find it strange that a website that will compile C# is written in PHP. Of course there is, there are several working and there is nothing special, an operating system, if possible with some kind of isolation, the compiler you want to use, in this case the .NET Compiler Platform and the basics of a web application like any other.

  • @Bigown Sorry, I tried to be as specific as possible. I liked your comment, helped me to overcome many doubts. But why do you think PHP wouldn’t fit? What do you think I should use instead? C#itself? What would be the advantage?

  • It would suit, but it’s strange, it looks like "in a blacksmith’s house the skewer is wooden".

  • Have you seen the MOUTH (BOCA online Test Administrator)? https://github.com/cassiopc/boca/; it is used for programming marathons here in Brazil, so it works with solutions singlefile, but I think it might be a starting point.

1 answer

0

The part of designing the Forms and etc, would have to be converted from a structure to WPF and so on, now the part that I think it will be necessary that the back-end server has the VS compiler installed, or else that it communicates with a Windows server

Assuming the server that uses PHP then could use exec();

exec('msbuild project.sln', $ouput);

print_r($ouput);

Browser other questions tagged

You are not signed in. Login or sign up in order to post.