Introduction:
In this first part, I am going to explain nearly fifty Windows 10 Universal Windows Platform(UWP) app development questions. And in the next part I will introduce more advanced UWP questions. Please correct me if any questions have any mistakes in their content and also please note that for accuracy purposes, I adapted some content from MSDN .
In this first part, I am going to explain nearly fifty Windows 10 Universal Windows Platform(UWP) app development questions. And in the next part I will introduce more advanced UWP questions. Please correct me if any questions have any mistakes in their content and also please note that for accuracy purposes, I adapted some content from MSDN .
Image Source: MSDN
1. What is Universal App Development?
From Windows Phone 8.1 OS, Microsoft introduces an important change in the Windows Phone developer ecosystem called universal app concept. In this release, Windows Phone converges with the Windows Store apps platform into a single developer platform that runs the same types of apps, i.e, Windows Runtime apps. Windows Phone and Windows Store app developer platforms truly have become one, single development platform.
Ina single world, Universal app is a single development platform for windows phone and windows store apps.
From Windows Phone 8.1 OS, Microsoft introduces an important change in the Windows Phone developer ecosystem called universal app concept. In this release, Windows Phone converges with the Windows Store apps platform into a single developer platform that runs the same types of apps, i.e, Windows Runtime apps. Windows Phone and Windows Store app developer platforms truly have become one, single development platform.
Ina single world, Universal app is a single development platform for windows phone and windows store apps.
2. What is Windows store App?
A Windows Store app (former "Metro-style app") is a new type of application that only runs on Windows Tablets. A Windows Store app resembles the apps that are run on smartphones. The user interface is very different compared to traditional desktop app user interfaces, and without a touchscreen they can sometimes be more difficult to use than a desktop app. The biggest advantage of a Windows Store app is when it's used on a tablet computer or on a laptop computer with touch sensitive screen - then it can use its full potential.
A Windows Store app (former "Metro-style app") is a new type of application that only runs on Windows Tablets. A Windows Store app resembles the apps that are run on smartphones. The user interface is very different compared to traditional desktop app user interfaces, and without a touchscreen they can sometimes be more difficult to use than a desktop app. The biggest advantage of a Windows Store app is when it's used on a tablet computer or on a laptop computer with touch sensitive screen - then it can use its full potential.
3. What is Windows App store?
Windows store is the place where you can Install/purchase apps for Windows and windows phone devices. In order to get any Windows/WindowsPhone apps, including free apps from windows store, you’ll be prompted to set up a Microsoft account, or use your existing Microsoft email to start using Windows store apps. Once you set up an account with an email and password, you can start using the Windows app store.
For more info following details are major mobility platform store places:
a. Windows Phone/Windows: Windows Store
Windows store is the place where you can Install/purchase apps for Windows and windows phone devices. In order to get any Windows/WindowsPhone apps, including free apps from windows store, you’ll be prompted to set up a Microsoft account, or use your existing Microsoft email to start using Windows store apps. Once you set up an account with an email and password, you can start using the Windows app store.
For more info following details are major mobility platform store places:
a. Windows Phone/Windows: Windows Store
b. Android: Google Play
c. IOS/iPhone: Apple store
4. Silverlight windows phone vs WinRT windows phone?
- Windows Phone 7, Windows Phone 8 & Windows Phone 8.1 (Targeting Silverlight) uses Silverlight API's. And how Windows Phone 8 & Windows Phone 8.1 relate to Silverlight, well they use the Silverlight API's that are available for mobile application framework.
- Windows 8 & Windows 8.1 both target WinRT API's. And Windows Phone 8.1 also support WinRT API's. So, if you want to create Windows 8.1 & Windows Phone 8.1 applications you can do that by creating a Universal application targeting both the platforms (They have convergence of 90%).
Image Source: blogs.windows.com
From windows 10 OS Microsoft introduces a major change in mobility platform called Universal Windows Platform (UWP) which is available across all Windows device families(Mobile,Desktop,Xbox,Surface Hub, Holographic, IOT..etc), you can reach all these devices and look great on them all using one store and one code base.
6. What is UAP & UWP, Is there any difference?
UAP is stands for Universal App Platform and UWP stands for Universal Windows Platform. Both are meant forthe same thing that will enable Windows 10 developers to write one app for 'All Windows Platform family devices.'
7. What are the major development differences between WinRT universal app & Windows 10 UWP?
There are so many improvements on Unviersal Windows app development for Windows 10 from the Windows 8.1 experience.
Yes, but windows 10 SDK (Which is available with Visual Studio 2015 update 1 or later IDE) works best on the Windows 10 operating system and it is also supported on: Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2, but not all tools are supported on these operating systems.
9. LifeCycle Of windows store apps:
Life-Cycle means a specific sequence of the application from start to finish of the application.

UAP is stands for Universal App Platform and UWP stands for Universal Windows Platform. Both are meant forthe same thing that will enable Windows 10 developers to write one app for 'All Windows Platform family devices.'
7. What are the major development differences between WinRT universal app & Windows 10 UWP?
There are so many improvements on Unviersal Windows app development for Windows 10 from the Windows 8.1 experience.
- Previously in windows 8.1 universal app project, we needed to create two different app packages (.APPX) for windows phone & Windows, but now no more than one app package and we can use only one app package that can run across all Microsoft platforms (Mobile,Desktop,Xbox,Surface Hub, Holographic, IOT..etc).
- Now there's no need to create two separate projects for windows phone and windows, with windows 10 sdk now build one Universal Windows app that runs on all Windows 10 devices.
- We no longer need a developer license with Windows 10. But we must Enable Developer Mode to your device for development.
Yes, but windows 10 SDK (Which is available with Visual Studio 2015 update 1 or later IDE) works best on the Windows 10 operating system and it is also supported on: Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2, but not all tools are supported on these operating systems.
9. LifeCycle Of windows store apps:
Life-Cycle means a specific sequence of the application from start to finish of the application.

So there are four important states in the life cycle of a Windows Store app. They are as follows:
a. Not Running:
In this state an application is not running at all. An application might go into this state due to various reasons. For example, a user might have just installed the application but has never launched it. Another possibility is that a user might have ended the application using the Task Manager or might have just restarted the computer.This state is helpful in preparing the initial UI of your application.
b. Running:
When user launchesan app from app list, then it changes its state from Not Running to Running. Such an app is the one that the user is interacting with at a given point of time and the OS has allocated required resources for it.
c. Suspended:
The OS suspends your app whenever the user switches to another app or to the desktop or Start screen. In this state an app in the Running state can enter the Suspended state
d. Terminated:
If there are no adequate system resources, the OS may terminate a suspended app in which case it will enter the Terminate state.
10. What is Suspension Manager in Windows Phone 8.1?
It is a kind of helper class and provides the necessary properties and methods to load and store the state when the windows phone store app is terminated.
Note:
This class is automatically added to the solution if we use the Hub App, Grid App, and Split App project template or add to an existing project a BasicPage or any other Page item template other than BlankPage.
11. What are the Programming Languages for Windows App Development?
Preferred languages on priority based:
From WinRT windowsphone 8.1 sdk, old windowsphone 8.0 "WMAppManifest.xml" file is renamed to "Package.appxmanifest" which is very similar to the Windows Store apps . Package.appxmanifest is xml file that included all info of our application such as targeted app OS version, App display name, App icons, apability permissions to run app, Start page to be App launch..etc .
a. Not Running:
In this state an application is not running at all. An application might go into this state due to various reasons. For example, a user might have just installed the application but has never launched it. Another possibility is that a user might have ended the application using the Task Manager or might have just restarted the computer.This state is helpful in preparing the initial UI of your application.
b. Running:
When user launchesan app from app list, then it changes its state from Not Running to Running. Such an app is the one that the user is interacting with at a given point of time and the OS has allocated required resources for it.
c. Suspended:
The OS suspends your app whenever the user switches to another app or to the desktop or Start screen. In this state an app in the Running state can enter the Suspended state
d. Terminated:
If there are no adequate system resources, the OS may terminate a suspended app in which case it will enter the Terminate state.
10. What is Suspension Manager in Windows Phone 8.1?
It is a kind of helper class and provides the necessary properties and methods to load and store the state when the windows phone store app is terminated.
Note:
This class is automatically added to the solution if we use the Hub App, Grid App, and Split App project template or add to an existing project a BasicPage or any other Page item template other than BlankPage.
11. What are the Programming Languages for Windows App Development?
Preferred languages on priority based:
- C# & Xaml (Native or Xamarin cross platform)
- Visual Basic
- Visual C++/CX(CX is the component extensions to the C++ language)
- HTML5 , JavaScript and CSS (Using Cordova, phonegap..etc)
From WinRT windowsphone 8.1 sdk, old windowsphone 8.0 "WMAppManifest.xml" file is renamed to "Package.appxmanifest" which is very similar to the Windows Store apps . Package.appxmanifest is xml file that included all info of our application such as targeted app OS version, App display name, App icons, apability permissions to run app, Start page to be App launch..etc .





Sourabh SoniPosted Aug 1, 2016, 1:35 AM
Awesome article
Sangamesh GouriPosted Jun 27, 2016, 1:56 AM
Microsoft has come up with Project C which converts desktop apps to UWP. It converts desktop Windows installer such as MSI or exe to an AppX package that can be deployed to a windows 10 desktop. https://www.microsoft.com/en-us/download/details.aspx?id=51691.How to differentiate nomal AppX and this Project C AppX.From my initial investigation came with runFullTrust flag is what differentiates. Please can confirm is this one you confirm it is this capability that differentiate between these packages ? Sample AppxManifest content <?xml version="1.0" encoding="utf-8"?><Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"> <Identity Name="AppLocale" ProcessorArchitecture="x64" Publisher="CN=MichaelUrman" Version="1.0.0.0" /> <Properties> <DisplayName>AppLocale</DisplayName> <PublisherDisplayName>CN=MichaelUrman</PublisherDisplayName> <Logo>Assets\SampleAppx.50x50.png</Logo> </Properties> <Resources> <Resource Language="en-us" /> </Resources> <Dependencies> <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14316.0" MaxVersionTested="10.0.14316.0" /> </Dependencies> <Capabilities> <rescap:Capability Name="runFullTrust" /> </Capabilities> <Applications> <Application Id="AppLocale" Executable="VFS\Windows\AppPatch\AppLoc.exe" EntryPoint="Windows.FullTrustApplication"> <uap:VisualElements DisplayName="AppLocale" Description="AppLocale" BackgroundColor="#777777" Square150x150Logo="Assets\SampleAppx.150x150.png" Square44x44Logo="Assets\SampleAppx.44x44.png" /> </Application> </Applications> </Package>
Surya KantPosted Apr 21, 2016, 6:33 AM
good one brother..
Vignesh ManiPosted Apr 20, 2016, 3:58 PM
Nice one