How to dynamically load aspx code from a database?
- by labilbe
I have content like this stored in a database
<p>This a sample text. <%= Html.ActionLink("test", "myaction", "mycontroller") %></p>
The content is part of my data repository, that is the reason I want to keep it inside the database.
I would like to know how it is possible to render it and execute it at compile time.
I am using it on an asp.net mvc project.
Thank you.