What would be the better Idea to store Images ? Is it Database (or) any hosting ? (or) Is there any other idea to store images using ASP.net.
Asked
Active
Viewed 50 times
0
-
The best idea to store images is on the hard disk. - programming on asp.net is not change the idea behind the storage of big media files. – Aristos Jul 18 '13 at 13:07
-
Thanks for your reply, @Aristos. The thing while working with web application. Please see the last line (using ASP.net). – ognale88 Jul 18 '13 at 13:08
-
possible duplicate of [Store pictures as files or in the database for a web app?](http://stackoverflow.com/questions/561447/store-pictures-as-files-or-in-the-database-for-a-web-app) – Aristos Jul 18 '13 at 13:09
2 Answers
0
The standard answer is to use both; database holds the location of the files and the file server holds the actual data.
The main advantages of doing this are listed in Store pictures as files or in the database for a web app?

Community
- 1
- 1

Karl Anderson
- 34,606
- 12
- 65
- 80
0
If you are using SQL Server and version 2008 or higher then its worth to store image in file stream. It contains both advantage of storing image in files and database.
Here you can find more information about it from following links.
http://technet.microsoft.com/en-us/library/bb933993(v=sql.105).aspx
http://www.codeproject.com/Articles/128657/How-Do-I-Use-SQL-File-Stream
Regards,

Jalpesh Vadgama
- 13,653
- 19
- 72
- 94