There is a task: writing code in the browser and compiling on the server side. Suppose there is an input request from the user in the code. Since the code is executed on the server side, how to redirect the input request to the browser? Tell me, please, from what to make a start and by what method it is better to solve this problem.

  • "in the code there is an input request from the user" -? In any form? Console.ReadLine , textbox1.Text ? - Igor
  • @Igor, as Console.ReadLine - xitryuga
  • If you need to read the input from the user, the code will still have to be performed on the client. The current architecture is poorly suited to the task. - Uranus
  • You do not have a console program. Console.ReadLine out of place there. - Igor
  • @Igor You didn't understand a bit what I want. You can think of a project as a web ide. The user writes the code, in the code there is a request for input - how to implement? - xitryuga

0