Performing a razor look dynamically

Is there a way to dynamically view the razor? If I have a string representation code, can I execute it and pass the model to it as a parameter, for example?

+5
source share
1 answer

This is not quite what you asked for, but has interesting information about using dynamically generated templates: http://buildstarted.com/2010/09/29/razor-view-engine-without-mvc-at-all/

+5
source

Source: https://habr.com/ru/post/900865/


All Articles