Best Practices for working with files via c#

Posted by user177883 on Stack Overflow See other posts from Stack Overflow or by user177883
Published on 2010-05-03T15:24:43Z Indexed on 2010/05/03 15:38 UTC
Read the original article Hit count: 489

Filed under:
|
|
|
|

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?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET