Referencing files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm building my first ASP.Net site, and wonder about the best way to
reference data in files. Should I store documents in SQL Server, and provide
the file from there, or store a string providing the file location in SQL
Server and include a folder with files on the web site? Thanks for your help
(happy new years!).
 
Depends... If you are envision your site being moved into
a web farm, then the database is it. If you are absolutely
certain this will "never" happen, then storing the file
location is going to be much better from a performance
perspective.
 
Thank you!

Robbe Morris said:
Depends... If you are envision your site being moved into
a web farm, then the database is it. If you are absolutely
certain this will "never" happen, then storing the file
location is going to be much better from a performance
perspective.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top