PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Microsoft Azure Apps Support
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3747
Page 1 of 1

Author:  mwebsolutions [ Fri Mar 23, 2018 1:39 am ]
Post subject:  Microsoft Azure Apps Support

Most PDF generators require to run a server with full permissioning rights, so they must be run in a separte Microsoft Azure Service App and cannot be executed from a simple Microsoft Azure Web App.
The services apps are very expensive on Azure.

We need to be able to convert HTML to PDF as we have a reporting engine that simply creates HTML pages then converts.

Both PDFShare and HTML Renderer.PdfSharp run in a simple Microsoft Azure Web App.
https://github.com/empira/PDFsharp
https://www.nuget.org/packages/HtmlRenderer.PdfSharp

I cannot recall the reasons why they require their own server and service (its not trust levels, it was something else).
I assume you guys will know reasoning.

We are looking to transfer to PDFSharp to save costs.

Author:  TH-Soft [ Fri Mar 23, 2018 8:29 am ]
Post subject:  Re: Microsoft Azure Apps Support

Hi!
mwebsolutions wrote:
Both PDFShare and HTML Renderer.PdfSharp run in a simple Microsoft Azure Web App. [...]
I cannot recall the reasons why they require their own server and service (its not trust levels, it was something else).
I assume you guys will know reasoning.
Not my area of expertise, but I already find your question a bit confusing.

Try it in a simple App and if it does not work then start debugging/investigating.
Font handling can be a problem. Use the WPF build and the IFontResolver to avoid font problems.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/