在 Azure 上設定 IronPDF

This article was translated from English: Does it need improvement?
Translated
View the article in English

IronPDF 在 Azure WebApps、Functions 和 WebJobs 上運行,需使用Basic B1 範疇或更高版本,或使用Premium Plan

免費和共享層,以及消耗計劃,不適合用於 PDF 渲染,因為它們被微軟限制,以防止訪問渲染所需的 User32/GDI+ 函數。

然而,這些限制並不適用於 Docker 容器中的 Linux 或 Windows。

請注意
黃金法則:確保在部署 Azure Functions 時,Azure 發佈組態中的*「從包文件運行」*未勾選

查看我們的網站以了解更多信息:如何在 Azure 上使用 .NET 將 HTML 轉換為 PDF?