nsivasamy wrote:Yes, the application is "ASP.NET MVC" and we use 32-bit run-time enabled application pool, hence we use only x86 version of the plugin itself on all places under '\bin' folder.
But the problem comes for both x64 and x86 and we have not figured out why the session context gets reset when this specific line of code which is using the plugin is called.
Hi,
- Code: Select all
using (MemoryStream ms = new MemoryStream())
{
string NewAnnotation = Regex.Replace(Annotation, "font-family:\\w+", "font-family:Arial");
HtmlConverter.Convert(NewAnnotation, ms, true, 100 * 1000, Spire.Pdf.PdfPageSize.A4, new PdfMargins(30, 30, 30, 120), Spire.Pdf.HtmlConverter.LoadHtmlType.SourceCode);
using (PdfDocument htmldoc = new PdfDocument())
{
htmldoc.LoadFromStream(ms);
htmldoc.SaveToFile(filepath, Spire.Pdf.FileFormat.PDF);
};
};
Hi,
How do I deploy the Plugin folder in the staging environment? Do I need to do the copy plugin folder manually in the bn folder in the upper environment. I have to deploy the solution to the Azure portal in the azure function. How do I automate coping with the Plugin folder?
Thank you,
DP