I have problem by using .Net Core with pdfViewer. In the cshtml.cs file after I imported necessary library, errors generated.
Severity Code Description Project Path File Line Suppression State
Error CA2000 Call System.IDisposable.Dispose on object created by 'new PdfRenderer()' before all references to it are out of scope.
I download demo pdfViewer file for testing, it could not load file either.