Tables Full of Cheese: An Intro to Azure Table Service and Xamarin

Tables Full of Cheese: An Intro to Azure Table Service and Xamarin

In our last post on Azure Storage we looked at how to save large amounts of binary data to a BLOB from a Xamarin Forms app. We also took a quick look at what Azure Storage’s offering all provided, how to create a service account, and then how to access the BLOB service portion of it via the WindowsAzure.Storage NuGet package. Today we’re going to turn our attention to another offering inside Azure Storage – that of Table Storage. We’re going to answer the question… what exactly is Table storage? Then we’ll look at why would somebody want to use Table Storage within a mobile app. Finally, we’ll explore ways in which a developer can integrate Table Storage into an Xamarin app. So without further delay… What Is Azure Table Storage? Table Storage is a key/value store that can be used to store massive amounts of structured data within Azure. It is not, however, a relational database. Each “row” (or entity as we’ll refer to it from now on) in a table can have different columns from one another. In other words, it’s a schema-less NoSQL database. Let’s take a closer look of the structure of Table Storage. Storage Account – This is the top-level entry point for all of Azure Storage’s services. Table – A storage account can contain one or many tables. Tables, obviously, are a means to store and group data. Entity – Akin to an individual row of a table. An entity will be identified by 2 columns, a partition key and a row id (and those columns must exist). An entity also will contain...