Last post Apr 19, 2019 07:37 AM by Nan Yu
Apr 18, 2019 06:24 PM|3v3rhart|LINK
What is the best way to store a couple hundred small documents (PDFs,,,Word, Excel, and Publisher documents) for the end user to access through MVC (I'm unhappy with the way I'm currently storing documents: on Google Drive with a property in MVC that has
the link to the documents).
Where would you store documents for download in an MVC project typically? Do you store documents for download within the MVC project folder structure? Would this dramatically affect the cost of hosting on Azure?
What is the best practice for doing this?
Apr 18, 2019 10:35 PM|bruce (sqlwork.com)|LINK
if you are hosting in azure, I'd use azure storage rather than in the mvc project itself.
Apr 19, 2019 07:37 AM|Nan Yu|LINK
Hi 3v3rhart ,
As @bruce suggested , You can store that in Azure storage :
Get started with Azure Blob storage and Visual Studio connected services (ASP.NET)
Above tutorial shows how to write ASP.NET code for some common scenarios like uploading, listing, downloading, and deleting .