Automatically generate pdf with charts using latest data and send them through email in asp.net mvc core

490 Views Asked by At

I have an asp.net core project. I am using kendo ui to generate charts and then generate pdf. this is working fine. I have another web job (class library) project in same solutin where I need to generate chart using latest data and then export that chart to pdf and send as email automatically at specific time thrugh email using web jon. But issue is that

  1. This is web job project( without any UI and views).
  2. I don't have any view where chart is rendered. No Kendo ui.
  3. I need to do this automatically. No button click. generate chart from latest database data and export to pdf and send email at midnight.
  4. I am using evopdf to generate pdfs as itextsharp has some issues with a librrary in project.

How to acheive this functionality?

Please suggest.

0

There are 0 best solutions below