Vito
❔ How to generate HTML string from PartialView/View without HttpContext in IHostedService?
I am using scheduled jobs to send email to clients and I am generating email from PartialView, this is working great while I am using it inside request but once it is outside request it cant access HttpContext and it is throwing null error
2 replies