We are using HTML Renderer to convert an HTML file to a PDF file in one of our ASP.NET MVC projects deployed on Azure. The web app generates the HTML page on the fly and converts it to PDF. However this fails on Azure.
My search on SO pointed out that PDFsharp GDI version does not work on Azure and to use the WPF version. But the WPF version doesn’t have a HTML to PDF method (we are using the PdfGenerator.GeneratePdf method).
What are my options here?
Does iTextSharp work on Azure?
You can take the source code for PdfGenerator.GeneratePdf and compile it with the WPF build for use on Azure.