From the course: Exploring Performance and Scale with Data Options in Azure

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Add upload to Blob Storage

Add upload to Blob Storage - Azure Tutorial

From the course: Exploring Performance and Scale with Data Options in Azure

Start my 1-month free trial

Add upload to Blob Storage

- [Instructor] Now that we have our cloud storage account that we can use, we're going to use one of the clients, the blob client to make our access for this uploads to happen. So what I'm going to do, is I'm going to go here into our code and I'm going to create a azure blob client. And what the azure blob client is is going to the account, I can go out and create. And a cloud blob client, a table client, or a cue client. And the pattern for each of these is very similar. You create the client you want to use and then you create a reference to the type of storage you want to partition. And storage, it's called a container, and tables it's a table reference, sending cues, it's a cue reference. So for us, in this instance, we're going to create an azure container. And we're going to set it equal to our blob client's get container reference with the name of what our container is. We're using uploads, and make sure you…

Contents