-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to run in a Windows Container/App Service to convert HTML to PDFs? #238
Comments
Here's what I have so far
and I get a runtime error of System.InvalidOperationException: The calling thread must be STA, because many UI components require this. |
Rick Strahl published a blog post It'd be really great to run this in a Linux container |
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
The text was updated successfully, but these errors were encountered: