As we previously know, in Windows 10 we can make an application which can be performed and run on multiple Windows 10 devices. Let us assume that we have these altered devices and we want to make it feel like that it is one application even though it is running on different devices.
In the Universal Windows Platform (UWP), you can run a single application on all Windows 10 devices, and you can give the user a feeling that it is one application. This is known as connecting experience.
Important features of connected experience −
In this chapter we will learn −
You have free access to OneDrive for MSA account, and you have access to Active Directory (AD) and Azure Active Directory (AAD), which is a cloud version with your enterprise account.
You set some preferences like lock screen or background color or initial your dissimilar kinds of settings, when you logon to a PC. If you have more than one computer or device, which are running on Windows 10, your favorites and settings on one device will be matched from cloud, when you login to other devices with the same account.
In Windows 10, when you have set or personalized your application settings, then these settings will roam with Roaming APIs obtainable in UWP. When you run the same application again on other device, then it will first recover the settings and relate those settings to the application on that device.
There is a boundary of 100KB for uploading roaming data to the cloud. If this limit surpasses, then synchronization will stop and will just behave like a local folder.
The RoamingSettings APIs are exposed as dictionary in which an application can save data.
When the data changes in RoamingSettings then it fires the DataChangedevent, where you can refresh your settings.
Let us look at an instance, in which we will set the background color of the application and these settings will roam with Roaming APIs available in UWP.
Given below is the XAML code in which different controls are added.
C# implementation for RoamingSettings and different events is given below.
When the above code is compiled and executed, you will see the resulting window.
Let us select gray color as the background color and close this app.
Currently, when you run this app on this device or any other device, you will understand that the background color has altered to gray. This shows that the app has positively recovered the information of background color change in RoamingSettings.
Windows 10 Development Related Interview Questions
|VBScript Advanced Interview Questions||Active Directory Interview Questions|
|Windows Administration Interview Questions||SCCM Interview Questions|
|ActiveX Interview Questions||Windows 7 Interview Questions|
|Microsoft Azure Interview Questions||Windows Communication Foundation (WCF) Interview Questions|
|Unity 3D Interview Questions||Windows CE .NET Interview Questions|
|Advanced C# Interview Questions||Advanced C++ Interview Questions|
|Angular 5 Interview Questions||Windows Server Administration Interview Questions|
|Windows Controls Interview Questions||Sql Azure Interview Questions|
Windows 10 Development Tutorial
Windows 10 Development
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.