I need to know how to render a Razor view from within a service operation.
(not very familiar with ServiceStack.Razor yet)
Lets say I define a Razor view to create some dynamic HTML content. For all intents and purposes I am just interested in the raw text that is generated from that view.
I will need that view to use a specific model to substitute data values into it.
Now, I want to get the raw dynamic content generated from that view into a DTO of a service operation on the same WebSite.
What code would I use (in a service operation) to render the Razor view (with model) to give me the raw dynamic content?