I want to create an application framework that mainly means that the source code will be stored in the database Which can be edited by users and will always execute the latest version.
Will someone tell me some ideas about how anyone will implement this way!
cheers, gabor
In the net, you can use reflection and codedom Compile the code on the fly but neither the approach is actually very simple or practical, there is also some qualification to interpret C # on the mono, but I have not seen it yet.
Another option is to tell one. Languages like BOO or IronPathon your database code.
Either way, make sure you think long and hard about the security of your platform. Allow users to execute uncontrolled code is always a risky exercise. It is very easy to see a simple eval () method, and even if anyone is present, then it is not enough not for this scenario is.
Comments
Post a Comment