Can I have Azure File Storage with Web App Service?

MarkB 21 Reputation points
2021-02-19T21:34:10.737+00:00

I'm new to Azure, using a free 30 day trial. We are looking to move an existing ASP.NET website hosted on Godaddy to an Azure Web App Service.

The thing is, we have a folder in the ASP.NET website:

/files/image-store/ 

which holds thousands of sub folders with PNG's and JPEG's. These images are shown in various aspx webpages on our ASP.NET website. It's currently around 2GB but could grow to multiple TBs.

I notice the free plan on the Azure Web App Service only allows 1GB of storage. I've read the following:

"Azure Files provides a cloud-based file share for storing and sharing files. You then access these files from applications hosted in Azure App Service, an Azure VM, or an on-premises machine. Azure Files stores and shares file access between applications and systems in a secure and failure-resilient manner."   

But I also read on stack exchange that it only works on Linux with Azure App Service. Is this still the case, and if so, is there a workaround?

BTW, I have been suggested a Blob is another way though we have no experience with that, seems we would have to make changes to a lot of existing code, and also not I'm not sure how transportable that code would be to other hosting providers if ever desired.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,200 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,813 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,135 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 34,436 Reputation points Microsoft Employee
    2021-02-22T19:29:59.403+00:00

    @MarkB
    See the documentation here for information on mounting Azure Files from App Service, this includes Windows instructions. There are limitations though which are noted on the page and this is still a Preview feature.

    Hope this helps. Let us know if you have further issues or questions and we will be happy to help.

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Ron Sell 1 Reputation point
    2022-03-31T00:21:32.733+00:00

    Will this ever be available for Web Apps that are not in a container? We need this desperately. Where we can map a drive to external file share.

    0 comments No comments