Join Michael Lehman for an in-depth discussion in this video Solution: Verifying Azure connectivity, part of Building Windows Phone 8 Apps with Azure.
…Alright, so here's my solution to…the Windows Azure Mobile Services coding challenge.…We're going to make sure that we're connected to Windows Azure…before we allow the rest of the app to run.…And if we can't get connected, we're going to disable the functions of the app.…So that the user has to restart the app and try connecting to Azure again.…So we'll begin by going to App.xml.cs And creating a…flag that we can use to test Azure availability, public static…bool as your available. Then we'll set it to true.…
That's our assumption.…Then we're going to go to our view models, into notes model, into load data,…and we're going to put a try catch block around all this stuff right here.…Try Catch.…So if we can read the data from the database.…Then we're going to go ahead, and fill it into our items array.…If we can't read the data from…the database, we're going to create a new item,…and fill it in.…Azure Unavailable. And modified date equals date…time.now.ticks.ToString And then NoteID equals quote 1 quote.…
And then we're going to add that to the items collection.…
- 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.