Best Practices for working with files via c#
- by user177883
Application I work on generates several hundreds of files in a 15 minutes period of times. and the back end of the application takes these files and process them (updates database with those values). One problem is database locks.
What are the best practices on working with several thousands of files to avoid locking and efficiently processing these files?
Would it be more efficient to create a single file and process it? or process single file at a time?
What are so common best practices?