Introduction
Table Storage is a key-value store that uses a partition key to help with scale out distribution of data and a row key for unique access to a particular entry within a partition. Together, these keys are used to uniquely identify a record in the account.
Accessing the account
First, we will need to add the following to our configuration file (app.config if it’s a console application, web.config if it’s a web application):
<configuration> | |
<appSettings> | |
<add key="StorageConnectionString" value="DefaultEndpointsProtocol=https;AccountName=<your account name>;AccountKey=<your account key>" /> | |
</appSettings> | |
</configuration> |
Then, we will access our account with the following code: Continue reading