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
Post a Comment