var templateService = new TemplateService();is not recognised
Hi everyone. I'm trying to improve the performance of the first time I call a report by caching it ahead of time. However, my attempts to cache the template seems to have no effect.
Please, what am I doing wrong?
Here's the code? https://pastebin.com/mbJ1NzPa
Engine.Razor.Compile(key);i get the following error