I am using Aspose Words library for converting HTML code to PDF Document in Dotnet. In Windows this is working perfectly but in docker image it is showing an error in the second line –
var options = new HtmlLoadOptions();
var pdfDocument = new Document(stream, options);
Here Document is using from Aspose and the steam is –
var stream = new MemoryStream(System.Text.Encoding.UTF8.GetBytes(HtmlData)
do I need any configuration for Aspose in the docker file?