Learn how to write C# to create and modify an Azure storage blob of the block blob type, including optimistic concurrency control.
- [Instructor] Let's look at block blobs,…they're a bit more involved than append blobs.…Only one way to interact with them.…I'll drag this file, drop it on the project,…now we have to rename it,…so I'll modify the class filename as well.…Open the file and now this is all about block blobs.…
So I'll keep the test context.…I'll keep the same client.…Keep the class initialization method,…but we'll delete the test method.…So we use the same Azure storage account,…the same storage account name, key, credentials,…configuration for the storage account,…and we still use a cloud blob client.…So let's upload a blob.…
This is exactly as you would expect.…We're going to use simply a local file…and upload it to a container in Azure storage.…So remember the idea of a container…is very similar to folders.…And so I'll use a cloud blob container and I'll get…the client to create me one, so we'll say get a reference…and I'll call it photos, as if it's folder full of photos,…create if it doesn't exist and await.…
So at this point we essentially a new folder,…
- Azure Storage overview
- Azure Storage security
- Deploying Azure Storage
- Accessing Azure Storage files
- Passing messages with Azure Storage queues
- Storing unstructured data with Azure Storage blobs
- Storing structured data in Azure Storage tables (Cosmos DB)
Skill Level Intermediate
4. Azure Storage Files
5. Azure Storage Queues
6. Azure Storage Blobs
7. Azure Storage Tables
Next steps1m 19s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.