Search code examples
javascriptreactjsasp.net-coreazure-storage

Store 2000 images


I am implementing a web application which uses React as front end and Asp.net as backend. I have around 2000 images that has to be used in the web application. What will be best way to store these images ?


Solution

  • The best way is never store any media yourself.

    Since serving any image/video content relies heavily on your network/bandwidth, it is not always stable and vulnerable to the slightest DDoS attack. Let alone that the security of your server may not be enough to protect your data.

    I would highly recommend you to lookup some CDN, or Content Delivery Network, provider, such as AWS and GCD. You may also set up access right and serve criteria to better protect your data in these providers.

    Reference:Why Use CDN’s for Your Website & Image Hosting

    Edit: I just noticed that you have tagged your question with azure-storage, which is also a great option for serving media over the internet.