Skip to content

Is it possible to run in a Windows Container/App Service to convert HTML to PDFs? #238

Open
@aligneddev

Description

Rick Strahl has teased the idea of using WebView2 to create PDFs

I'd like to create an Azure App Service or hosted container to accept html and spit out PDFs.
Currently using itext7, but the HTML doesn't get rendered in the PDF the same and it's causing me a lot of grief.
Ideally, I could create HTML in Edge/Chrome and then send it to a PDF service and have them look exactly the same, using the same rendering engine (I'm looking at you WebView2) and I could host it in Linux, but that is an open issue on Azure and support 100s of requests a minute.

I've started but I have questions

  1. Is this possible?
  2. Are there licensing issues with this approach?
  3. How would I package and deploy this? Would a docker file/image work? Could you provide a pre-made image?
  4. what load could it handle, how big of a server would I need?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions