24
Re: http://msdn.microsoft.com/en-us/library/system.io.file.exists.aspx
Does anyone know if this is a particularly slow or locking operation which could impact server performance in a large environment?
Re: http://msdn.microsoft.com/en-us/library/system.io.file.exists.aspx
Does anyone know if this is a particularly slow or locking operation which could impact server performance in a large environment?
I don't think it is (file operations are heavily optimized and cached on most OS's) and most of the other operations are more likely to be culprits here (sockets, DB access, general processing, etc). But, as usual, the best way is to actually profile your application and see if it's an hotspot.