We're currently building a WebService that will run under IIS. Our current dilemma is where to store uploaded files?
Up until now we saved the files directly under the physical path of the virtual directory but than we found out that the application pool restarts when files are deleted under one of its physical paths.
We think of storing the files under the ProgramData folder but we're afraid of breaking changes with new windows updates.
Where would be a correct and safe place to store the files? Is the ProgramData good enough?