Hi,
As per your guidance, I was able to generate the PDF file using ASP.Net Core 5.0
Can you guide me how to download the pdf file in the browser?
Thanks
//save as stream
pdfDocument.SaveToStream(stream, FileFormat.PDF);
//write to file
File.WriteAllBytes(resultFilePath, stream.ToArray());