I've setup a new provider hooked up to Azure for a library. The provider was hooked up and everything is good then I wired up a new library to use it. Uploaded a document to the Sitefinity library and it appeared in the container in Azure. That's all good.
What I don't know is we had blobs already in the container as we're uploading them from an outside source. We wanted to expose them through Sitefinity but the existing blobs are not showing up in the library.
Is there not a two-way sync happening with libraries or is it only there to upload documents and store them in Azure blobs instead of the database or file system. I also thought setting the public host would mean the url to the documents in the library would be what the Sample blob url shows. Instead it's just the Azure name so the document links are accountname.blob.core.windows.net/.../filename.ext instead.
Okay that makes sense.
One more thing that's confusing is the host name for media files. In our setup I've configured the storage provider with a public host of the site name (mywebsite.com for example). Files uploaded to a library connected to the provider have an embed link of http://mywebsite.com/container-name/docs/default-source/library-name/filename.ext?sfvrsn=1 however this results in a broken link. The actual URL is the azurewebsites one you can get from the container in Azure.
Is there something special you need to do to get the name to resolve to your hostname if you want to set this up?