There are several options to storing data from your application, all ideal for different types of context. We'll explain local, roaming, and temporary storage. We'll show you how to leverage roaming data storage from your application to write data that can be shared across all your devices.
- [Voiceover] We are going to work with storing data…and we're going to put it in Roaming Data.…Now, when it comes to data, you do have three choices.…And so you've got to figure out which one you want to use.…You can use local data, which is going to be…for current device and saved on the Cloud.…Now, roaming data means that your data is available…across any of the devices that are using…your application.…You also have temporary data.…It's exactly what it says, it's temporary.…So we're going to be using roaming data.…Now we need to be in add.js, and what we…want to do is, when that Save button is clicked,…we don't want to transition between pages right away.…
What we want to do is we want to go save room number.…And so this is a function that we're going to…have to create.…And we're going to create this function…and let's give us some space, and we're going to go…function, save room number, and it's expecting an…event object because that's being fired from a button.…And what we're going to do here is…we're going to get access to that input that's in the page.…
Watch to gain an understanding of the Universal Windows Platform and the application life cycle. Learn to create adaptive layouts with WinJS controls. Discover how to store and share data, capture a variety of input, and explore the unified Microsoft-specific APIs: Windows Core and Geolocation. Stacey Mulcahy, a Windows evangelist, provides developers with everything they need to start building Universal Windows apps and break into cross-device development.
- Setting up your development environment
- Coding in WinJS
- Creating page objects
- Animating page transitions
- Implementing responsive design principles and UI patterns
- Working with layout controls
- Using APIs: Windows Core and Geolocation
- Saving and reading data
Skill Level Beginner
1. Getting Started with Universal Windows Applications
3. Layouts and Controls
4. Utilizing APIs
5. Managing Data and Storage
Next steps1m 56s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
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.