Note that I am not talking about the compiler-created "ASP.NET Temporary Files".
My web application (ASP.NET MVC) uses Graphviz to generate images that are then sent to the client. This requires the creation of temporary files.
What is the best way to handle this? Is there any way to delete them immediately after they are sent? Should I use a background thread? Something in Application_Start or Application_End?
source
share