My team has a .NET (4.7) web application running in Azure. Right now there are three directories being creations on the web in the D drive - cache, temp and root. Log files are dumped here. My concern is that these log files will take up space and crash the app.
Is it possible to store these apps in blob container instead of on the web application? I created a storage account with three containers (cache, temp, root), used Storage Explorer to create shared access signatures (SAS's) on each container, and then pasted the URL generated for the SAS in the app settings for the web app. I restarted the app no files are being dumped in the container.
Is there something I'm missing to get this working? I'm not a developer so I'm not sure if something would need to be set in the code for this to work. I noticed in the web.config a D:\home...... location was specified so I assumed adding the container location would work but I guess not. Any thoughts or suggestions would be greatly appreciated.
Try doing it via PowerShell, as explained here:
The configuration is done in 6 steps.
All the credits to Michaël Hompus