1
Vote

don't use local filenames, use stream

description

send and receive files to System.IO.Stream, not to files in the file-system. This makes it easier for in-memory work and flexible for unit-testing etc.

if you must access the filesystem, make sure you dispose the FileStreams you open yourself (they are currently not being disposed).

comments