C # dynamically execute scripts. Several script engines are involved .,
Jint embedded javascript scripts support engines and are constantly updated. They support various methods and can interact with C.
Https://github.com/sebastienros/jint
The embedded javascript script support engine of Jurassic has not been updated for a long time. It is similar to jint and can be stable and can interact with C.
Http://jurassic.codeplex.com/
IronPython embedded Python script engine supports various python packages. I have used IronPython to implement some DHT seed collection work. It is also a good engine, but it is better to be familiar with python.
Http://ironpython.codeplex.com/
I have used all the above three items. It's good.
There are several Lua script engines, but they have not been used in depth.
Https://github.com/neolithos/neolua
Https://github.com/NLua/NLua
My Jexus-based magnetic search website is built on asp.net using Linux + jexus + mono
Http://okbt.net/magnetic search engine, developed using C # + Python. Aspx runs on Linux.