Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding article to connect and upload files programatically to Blob Storage #5969

Merged
merged 10 commits into from
Mar 21, 2024

Conversation

alina-tincas
Copy link
Contributor

Description

What did you add/update/change?
adding an article to connect and upload files programmatically to Blob Storage

Type of suggestion

  • Typo/grammar fix
  • Updated outdated content
  • New content
  • Updates related to a new version
  • Other

Product & version (if relevant)

Umbraco Cloud

Deadline (if relevant)

When should the content be published?
anytime

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This article provides the necessary steps needed to programmatically connect to your Umbraco Cloud Environment's Azure Blob Storage containers, in case you want to persist files programmatically.

Copy link
Contributor

@netcamo netcamo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Alina!

Copy link
Contributor

@eshanrnh eshanrnh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, @alina-tincas 🙌 I've tested out the steps and it works as expected.

I've left a couple of suggestions 🙂

@alina-tincas alina-tincas requested a review from eshanrnh March 20, 2024 15:20
Copy link
Contributor

@eshanrnh eshanrnh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, @alina-tincas 👏

@alina-tincas alina-tincas merged commit 5160938 into main Mar 21, 2024
24 checks passed
@alina-tincas alina-tincas deleted the create-blob-programatically branch March 21, 2024 08:20
@ronaldbarendse
Copy link
Contributor

What's not entirely clear from this documentation is why you'd want to use this, because Azure Blob Storage on Cloud is already correctly configured and used as media file system (and ImageSharp cache)...

If you use the MediaFileManager.FileSystem abstraction (as per Accessing the media file system from code), you already have access to the Blob Storage on Cloud and the same code will work on your local environment (which will use the default PhysicalFileSystem again).

@alina-tincas
Copy link
Contributor Author

Hi @ronaldbarendse!

The idea with this article is not to just connect to blob storage programmatically but also add media in a way that it is stored only in blob storage. Currently as it is there are some scenarios where some clients might want to store media in blob storage for some internal reasons, so the media from blob should not have the links publicly as they are. Perhaps I can update the docs with a bit more elaboration about this 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants