Where to call Azure Blob Storage APIs from - web app server side or azure function

159 Views Asked by At

Is it better (best practice wise) to use the Azure Blob Storage APIs from an Azure Web App (server side code) or make the API calls from an Azure function.

I think using the functions way is better for 'separation of concerns', more maintainable - in that multiple apps could use the same azure function - one place instead of many, can be monitored from within Azure (metrics) and dashboard. During a data breach a function can be turned off without shutting down the web app. Are there other reasons to use the API from a function vs the Web App backend?

Thanks

0

There are 0 best solutions below