Azure WebApps with File Shares
February 5, 2020•80 words
I need static web site hositng.
But Azure storage static website hositng feaure is not appropriate.
Because it cannot use any autentication.
Therefore, I use WebApps.
However, I do not want to use SFTP. or git deploy.
I remembered Azure function use storage file shares.
It is enabled by webapps config.
I add following two configs and restart webapp and it is so good.
WEBSITECONTENTAZUREFILECONNECTIONSTRING <connection string>
WEBSITECONTENTSHARE <file share name>