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

css - Text drops down with smaller window -

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

ruby on rails - Authlogic - how to make a registration and don't log in the new account? -