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.
It works fine with HTTP but IE 6 and 7 can't open or save the resulting file when using HTTPS. I've opened a case with Microsoft support and they've told me that in order for the browser to get the Excel file using HTTPS, cache-control has to be ON. But when we look at the response header in Fiddler, we see that cache-control is set to "no-cache". We've enabled caching on IIS, yet the response header is still indicating "no cache". Since my code isn't setting that header property, it seems likely that the XLSio library might be doing this.
Is there any way to enable caching thru the XLSio library?
GMGeetha M Syncfusion Team July 23, 2010 06:41 AM UTC
Hi Bert,
Thank you for your interest in Syncfusion products.
Currently it is not possible to control cache used in XlsIO library. However, you can save the workbook as stream and then send the file using HttpResponse where you can handle the cache on your own. MemoryStream ms = new MemoryStream(); workbook.SaveAs(ms);
byte[] byteBuffer = new byte[ms.Length]; byteBuffer = ms.GetBuffer();