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
Could not load type 'Microsoft.AspNetCore.Razor.Language.RazorTemplateEngine' from assembly 'Microsoft.AspNetCore.Razor.Language, Version=188.8.131.52, Culture=neutral, PublicKeyToken=adb9793829ddae60'.