Which is good Pratice storing a uploaded File in DB or storing it in Filesystem

Posted by GayaMani on Stack Overflow See other posts from Stack Overflow or by GayaMani
Published on 2010-05-11T06:56:37Z Indexed on 2010/05/11 7:04 UTC
Read the original article Hit count: 291

Filed under:
|
|

hi I have a File Uploader in my ASP.NET application Using C#, we can upload any type like images, documents, pdf etc.

I m storing it in the Filesystem and having only the Name of the File in DB. My doubt is can we store the entire file, images in DB. State me Which is good practice and why we need to use it.

Either file System Storage or SQL DB Storage.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about sql-server-2005