Microsoft Announces Multi-Instance Support For UWP Apps In Windows 10 Version 1803
Microsoft introduces support for multiple instance UWP apps in Windows 10
Microsoft has officially announced that with the upcoming Windows 10 Redstone 4 (version 1803), the company will be introducing support for multiple instances of Universal Windows Platform (UWP) app. Previously, only single instance of UWP app could run at a time. In other words, Microsoft in the past allowed multiple UWP apps to open at once. But now, it will allow to open the same app multiple times.
In a new post on the Windows Dev Center, Microsoft explains on how developers can customize their apps for multi-instance support.
“Prior to Windows 10, version 1803, only one instance of a UWP app could be running at a time. Now, a UWP app can opt-in to support multiple instances. If an instance of a multi-instance UWP app is running, and a subsequent activation request comes through, the platform will not activate the existing instance. Instead, it will create a new instance, running in a separate process, the company explains.
Create a multi-instance Universal Windows App
With Windows 10 version 1803, your UWP app can now opt-in to to support multiple instances. You can decide if a new instance of your app is launched, or an existing instance activated.
— Windows Dev Docs (@WindowsDocs) February 22, 2018
Microsoft has already supported multi-instances for its own UWP apps, including Calculator and OneNote for some time. This customization will offer developers flexibility to choose between an active and existing instance of an app, or launching a new one. Microsoft also highlighted that there will be no restrictions on the number of active instances of an app and will work as different processes, which means that if one of the instances crash, the others will continue to work without getting affected.
Multi-instance support will be offered as an opt-in feature for developers, which means they will require to make some changes to their apps in order to support it.
You can check out Microsoft’s complete documentation for UWP console apps here.
The author Kavita Iyer
An individual, optimist, homemaker, foodie, a die hard cricket fan and most importantly one who believes in Being Human