Open sohaibnasir40 opened 4 years ago
i dont know, but you can try to add
<meta charset="utf-8">
in the
Is it possible to run on Azure Linux app? I'm getting this exception after publish to azure
System.Exception: /home/site/wwwroot/wwwroot/Rotativa/wkhtmltopdf: error while loading shared libraries: libXrender.so.1: cannot open shared object file: No such file or directory
at FIMS.Web.Controllers.InvoiceController.DownloadPaySlip(Int64 invoiceId) in d:\a\1\s\src\FIMS.Web\Controllers\InvoiceController.cs:line 250
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.
Thank you . I'm using (B1: 1) basic plan. Is any problem if I deploy to azure .net core Linux app? Does it work on windows and Linux app? do you have any other suggestion?
Rotativa PDF is working perfectly on locally: But after publishing/deploying on Azure App Service then there is font issue: Function is ViewAsPdf(); Also tried removing authorize from controller