4 ms·
This looks awesome! The .NET foundation I hope supports this ASAP - https://old.dotnetfoundation.org/projects/ https://old.dotnetfoundation.org/projects/ I don
by mattferderer 4y ago
This looks awesome! The .NET foundation I hope supports this ASAP - https://old.dotnetfoundation.org/projects/ https://old.dotnetfoundation.org/projects/
I don't know if it's due to "partnerships" but I never could understand why Microsoft didn't do better at supporting .NET Word & PDF tooling since .NET Core came out. The older versions I know at least had support for Word docs. Creating documents is a huge foundation of their company.
- matchagaucho 4y agoThe Adobe vs Microsoft competitive relationship is indeed a puzzle. Some features, like eSignature, there's more co-opetition and partnering.
- bilekas 4y agoThe eSig is a key component. Need to be extended outside of AdoC.
- dustymcp 4y agoI think alot of people have moved on and are using services or puppeteer to generate their pdf's i know we did since we couldnt find a library that worked properly for our usecase.
- paranoidrobot 4y agothe tl;dr of using Puppeteer for this is "We run Chrome in a headless mode, load your page, and then print to PDF with it". It makes me nervous having Chrome running on the server, even inside a container without root. Doubly so if the user is able to control any portion of the page being run by Chrome.
- whitexn--g28h 4y agoWe used aws lambdas to execute the pdf renders and upload the result to s3 using a signed url passed in from the request. Complete insulation from our own application process, all of data is passed into the request so the worst the user can do is add a malicious file to our s3 bucket.
- paranoidrobot 4y agoAre you using Puppeteer for the PDF Rendering? Chrome is pretty horrific in terms of memory usage. How are you handling the startup time + memory usage? (with their associated costs)
- password4321 4y agoCareful consideration should be taken before joining the .NET Foundation. How the .NET Foundation kerfuffle became a brouhaha 2021-10-08 https://news.ycombinator.com/item?id=28794352#28795511 https://news.ycombinator.com/item?id=28794352#28795511 > the project had now been silently moved to GitHub Enterprise (likely in the short window @dnfadmin had owner access). The author states that projects in GitHub Enterprise can be entirely controlled by the owner of the account (the .NET Foundation). This transfer happened silently.