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=22.214.171.124, Culture=neutral, PublicKeyToken=adb9793829ddae60'.