asp.net mvc - Cleaning Up Temporary File after Returning to Browser -


i have controller action dynamically generates powerpoint file. happens unzipping existing .pptx file, applying changes xml, , zipping result new, temporary .pptx file. file returned action using file().

how can clean temporary file after has been returned client?

is there better way approach this?

i suppose using library such sharpziplib.

the correct solution imo not generate file in first place. sharpziplib write file stream. point outputstream , should good.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -