A
A
andreika_big2021-01-02 14:04:16
.NET
andreika_big, 2021-01-02 14:04:16

How do I add a code runtime to a site?

Guys, tell me how to add (write) the code execution environment to the site?
I am writing a website for solving problems in .NET and Python.
I want to add a form to my website where a person can write code and execute it, if the answer matches the expectation, then it is displayed that everything is fine! + tests on different datasets

And are there any alternatives to the solution?

In general, as here, and + for C # - https://pythontutor.ru/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-01-02
@vabka

For C# you can use Microsoft.CodeAnalysis.CSharp.Scripting
Here is an example of usage: https://habr.com/en/post/553310/
And for python you can use https://pythonnet.github.io/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question