Join Michael Lehman for an in-depth discussion in this video Creating tables, part of Using Windows Azure with Windows Phone 8.
The next step in connecting to Windows Azure, is creating an accessing tables. The way we do that, is now that we have a CloudStorageAccount object that we used to authenticate with Windows Azure, we create a CloudTableClient from that object. And then from the CloudTableClient we get a reference to the CloudTableObject. So far we still don't have a reference to the actual table. We have a CloudTableObject, but in order to get a specific table, we have to call a method called" CreateIfNotExistsAsync." Now this is a good point to note, that just like everything else in Windows run-time, inside your Windows Store apps, everything is async.
So, throughout our code we'll be using async methods and the Await keyword in order to create the illusion of synchronous programming within our code. So CreateIfNotExistsAsync is an async method so we'll do an Await when we actually use that. And interestingly enough there is no get table method inside the API. You pretty much always have to call CreateIfNotExistsAsync which obviously the first time creates the table, and every subsequent time simply gets you the reference to the table.
- What is Windows Azure?
- Creating Azure tables
- Inserting, updating, and deleting data in tables
- Uploading a blob to Windows Azure storage
- Using shared access signatures
- Implementing mobile services
- Adding push notifications
Skill Level Intermediate
1. Overview of Windows Azure Services
2. Windows Phone Apps and Azure Tables
3. Windows Phone Apps and Azure Blobs
4. Windows Phone Apps and Azure Mobile Services
5. Windows Phone Apps and Azure Push Notifications
Next steps1m 21s
- 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.