Click here to Skip to main content
12,243,303 members (29,562 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET MVC MVC3 ASP.NET4
Sir,

I have a doubt, In Asp.net MVC Project, i have to show multiple images in a web pages. When i search in the google about to show the Multiple images, then i have seen two methods , one is Showing images from local folder and another one is showing Images from database(Varbinary). And now i am confused that which method is more efficient and good.

Please help me to guide me to the right way..

Thanks

Dileep.
Posted 2-Aug-12 20:09pm
dilzz1.3K
Edited 2-Aug-12 20:31pm
v3
Comments
   
Not a correct question -- it depends.
--SA

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

The reason there's two methods is that it depends. Showing from a DB is more work, I would tend towards leaving the images in the file system and putting paths in the DB, in most cases.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 3 Aug 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100