Join Anton Delsink for an in-depth discussion in this video What you should know, part of Azure Storage for Developers: Queues.
- [Instructor] In this course, we will cover storage for developers in Azure, specifically an Azure storage account. So it will help if you've previously seen the Azure Portal, and especially the Azure Portal subscription concept. So once you're logged in to the Azure Portal with a subscription, the first element that we would typically navigate into is a resource group. And within that resource group, we will create a storage account. I'll show you how to create a storage account and create your first resource group, but it would help if you talked to your subscription administrator, or take a tour of the Azure Portal before you get started with this course.
We will use Visual Studio 2017 Community edition. It is a free download, but it will help if you're familiar navigating through Visual Studio, and in particular, we will use the Visual Studio test utility, so the builtin test runner. And we'll, of course, use a Visual Studio solution. In the code itself, we are going to use the .NET Core 2 version of the runtime and that means that there will be some parts of the API that'll be unavailable that you might expect if you're a Windows developer. Now, with .NET Core 2 and the library we're going to use for accessing Azure storage, most of the calls will be over the network, and so we'll require asynchronous calls.
We don't typically want to block the calling thread when we go out over the network, when we go out to the cloud storage. And so, we will use the async keyword, async and await keywords a lot. There is an online training course about the async and await keywords so feel free to study that one first and then revisit this course. In Visual Studio, we'll use NuGets to add quite a few libraries. So MSTest should already be there if you created this project the way I'll show you. I'll use the Nfluent checker just to make the language easier to read when we check the test outcomes.
And also we'll add, of course, the Azure Storage Library from the online gallery.
- Creating a storage account
- Shared key authentication
- Using shared access signatures (SAS)
- Granting privileges with stored access policies
- Managing the visible time property
- Queue metadata
- Queue access control (SAS)
- Performance constraints of Azure Queue Storage