The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
When I execute the following code in a ASP.NET web service I cannot delete the temporary xml file and it remains locked for a undefined time.
Any suggestion ?
PDFLogicDocument _pdf = new PDFLogicDocument();
_pdf.OpenXml(_xmlFile);
string _pdfPath = Path.Combine(TargetPath, Guid.NewGuid().ToString("N") + ".pdf");
_pdf.Save(_pdfPath);
File.Delete(_xmlFile);
AJAjish Syncfusion Team March 2, 2006 03:55 AM UTC
Hi,
Sorry for the delay, I was able to see the problem. I will consult with the development team and get back to you shortly on this issue.
Thanks,
Ajish.
>When I execute the following code in a ASP.NET web service I cannot delete the temporary xml file and it remains locked for a undefined time.
>Any suggestion ?
>
>PDFLogicDocument _pdf = new PDFLogicDocument();
>_pdf.OpenXml(_xmlFile);
>string _pdfPath = Path.Combine(TargetPath, Guid.NewGuid().ToString("N") + ".pdf");
>_pdf.Save(_pdfPath);
>File.Delete(_xmlFile);
>