Category Archives: kevin gallo

Auto Added by WPeMatico

Windows Community Standup discussing Multi-instancing, Console UWPs and Broader File-system Access

During our February Windows Community Standup, we discussed three long-awaited features that add a new dimension to how you build UWP apps. Based on developer feedback these topics are top of mind – multi-instance support, UWP console applications and broader file system access.

With the latest Insider build and SDK, we’re introducing some major new features that provide exciting new opportunities for building UWP apps. The first feature is multi-instancing. This is an opt-in feature. Some apps don’t need or want multi-instancing – but some do.
Note that multi-instancing is not the same as multi-view. A regular single-instanced app can use the multi-view feature, and this works well for those apps where it makes sense. The standard Microsoft Calculator is a good example of an app that uses multi-view. You can have multiple different calculator windows open, each performing different calculations. However, there is still only one Calculator.exe process running, so if the app crashes, or the user terminates the app via TaskManager – then all calculator windows will be closed. This is perfectly fine for this kind of app – but consider if this were to happen with an app that is editing multiple data files. In the worst-case scenario, the user would lose all edits, and possibly even corrupt all of the open files.
With multi-instancing, you get multiple separate instances of the app – each running in a separate process. So, if one instance fails, it doesn’t affect any of the others.
The second new feature is support for Console UWP apps. Think of traditional non-UWP command-line tools. These are apps that don’t have their own windows – instead they use the console window for both input and output. Up until now, you could build console apps, but not console UWP apps. With the latest release, you can build a console UWP app, and publish it to the Store. It will have an entry in the app list, and a primary tile you can pin to Start. So, you can launch it from Start if you want – however, you can also launch it via the command-line in a Cmd window or PowerShell window, and this is likely to be the more normal way to execute such an app. The app can use the console APIs and even traditional Win32 APIs such as printf or getchar.
Multi-instancing and console UWPs are important additions to the platform, and both types of app can also benefit from the additional file-system access that has been added in this release. In fact, any app can take advantage of this. This broader access comes in two forms.
The first is used if the app has an AppExecutionAlias (either a regular windowed UWP app or a console UWP app). In this case, the app is granted permissions to the file-system from the current working directory and below. That is, the user executes the app from a command-line, and they choose the location in the file-system from which to launch the app. The app will have file-system permissions from that point downwards.
The second file-system feature grants permissions to the entire file-system (or, strictly, grants the app the exact same permissions to the entire file-system as the user who is running the app). This is a very powerful feature – and for this reason, it is protected by a restricted capability. If you submit an app to the Store that declares this capability, you will need to supply additional descriptions of why your app needs this powerful feature, and how it intends to use it.
The latest API documentation can be found:
AppResourceGroupInfo (StartResumeAsync, etc.)
AppDiagnostInfo (LaunchAsync)
AppActivationResult (AppResourceGroupInfo, etc.)
AppExecutionStateChangeResult
For a more detailed descriptions of how to use each feature, plus issues to consider when using them, check the documentation:
Create a Universal Windows Platform console app: https://docs.microsoft.com/windows/uwp/launch-resume/console-uwp
Create a multi-instance Universal Windows App: https://docs.microsoft.com/windows/uwp/launch-resume/multi-instance-uwp
App capability declarations (contains a new entry for the broadFileSystemAccess capability): https://docs.microsoft.com/windows/uwp/packaging/app-capability-declarations
File access permissions: https://docs.microsoft.com/en-us/windows/uwp/files/file-access-permissions 

Windows Community Standup on February 22, 2018

Kevin Gallo, VP of Windows Developer Platform, is hosting the next Windows Community Standup on February 22, 2018 at 12:00pm PST on Channel 9! 
Kevin will be joined by Andrew Whitechapel to discuss the latest updates to the application model which will be available in the next update for Windows 10. Andrew and Kevin will discuss multi-instance, broader file access, and UWP console applications. We will also be answering your questions live.  
Windows community standup is a monthly online broadcast where we provide additional transparency on what we are building and why we are excited. As always, we welcome your feedback. 
Once again, please tune in on February 22, 2018 at 12:00pm PST on https://channel9.msdn.com.

Windows Community Standup discussing the Always Connected PC

During our January 2018 Windows Community Standup, we discussed the Always Connected PC and what that means for developers. Kevin Gallo (CVP), Erin Chapple (GM) and Hari Pulapaka (Principal Group Program Manager) discussed the ARM architecture and Qualcomm chip, how the OS is natively recompiled with full feature support, how we extended our WoW abstraction layer to support x86 applications, and much more. Watch the segment to learn how to debug and test your app on a Windows on ARM device and what you should be thinking about when developing for Windows 10 on ARM.

Windows Community Standup on November 29th, 2017

Kevin Gallo is hosting the next Windows Community Standup on November 29th, 2017 at 10:00am PST on Channel 9 with Seth Juarez!
Kevin will be answering questions we didn’t get to from the Windows Developer Day on October 10th. While we’re going through the list, we will be taking live questions too.
Windows community standup is a monthly online broadcast where we provide additional transparency on what we are building out, and why we are excited. As always, we welcome your feedback on what could be done better.
Once again, we can’t wait to see you at 10:00am PST on  November 29th, 2017 over at https://channel9.msdn.com.

Thanks for attending September’s Windows Community Standup

Thanks everyone for attending and asking some fantastic questions. We strive to answer all questions and be transparent with both what we are building and why we are building them. Kevin’s next Windows Community Standup will be on October 10th, 2017 at Windows Developer Day!
Kevin showed off how .NET Standard 2.0 works in a Universal Windows Platform Application by showing SqlClient code being used directly from a classic WinForm application, dragging those files into the UWP app’s code base and just running the application!
Kevin also showed off some of the advances inside Windows Ink that developers can take advantage of today. Shape recognition and much more!

Windows Developer Day Returns!

Windows Developer Day is back! Join us on October 10, starting at 9:30 AM PDT via live stream, or attend a viewing party in your area (location list below), as we explore what’s new in the Windows 10 Fall Creators Update for developers.
The day’s schedule features an introductory keynote by Kevin Gallo and members of the Windows engineering team, a live-streamed Q&A session and several streaming sessions diving deeper into the current Windows 10 update.
Learn what’s new for developers in the Windows 10 Fall Creators Update
No matter what you’re working on, you’ll find plenty of new features and improvements to make your software more compelling:
Game devs
Game Mode and new performance enhancements improve the gameplay experience for most of your players.
Xbox Live Creators Program lets you integrate Xbox Live into your game and publish to both Xbox One and Windows 10.
Mixer is the only next gen streaming service that offers viewers real-time influence and participation in your players’ live streams.
Windows Store improvements help you promote your games with video trailers and control timing and pricing more precisely.
Commercial devs
.NET Standard 2.0 adds more than 20,000 new APIs and lets you share code across all your .NET code base.
Xamarin lets you use your existing C# and .NET skills to build truly cross-platform apps for iOS, Android and Windows 10 devices.
Desktop Bridge improvements to tooling and more make it much easier to convert your existing Win32 and .NET software to Windows 10.
Windows Mixed Reality delivers new levels of immersion to help you enhance the visual experience of your users.
Consumer devs
Microsoft Graph and UserActivity API make your end-to-end experience seamless by connecting screens and experiences across devices and platforms.
Fluent Design System helps you engage your users continuously across all their devices with beautiful, expressive experiences.
Tooling improvements within Visual Studio make it easier to create, convert and deploy your software.
.NET Standard 2.0 adds more than 20,000 new APIs and lets you share code across all your .NET code base.
Live Stream Viewing Parties
Join other developers from your local developer community and attend a Live Stream Viewing Party hosted by a Microsoft Windows Development MVP. Enjoy refreshments, watch the live stream, participate in the Live Q&A alongside your peers and make new community connections!
Here is a list of the locations: 
Amstelveen, Netherlands
Bonstetten, Zurich, Switzerland
Boston, MA, USA
Chicago, IL, USA
Cologne, Germany
Dresden, Germany
Durban, South Africa
Ghent, Belgium
Manchester UK
Mexico City, Mexico
Milan, Italy
Milwaukee, WI, USA
Moscow, Russia
Munich, Germany
Paris, France
Penang, Malaysia
Santa Cruz de Tenerife, Spain
Singapore, Singapore
Stockholm, Sweden
Vienna, Austria
Zagreb, Croatia
Learn more about Windows Developer Day and sign up here!

Windows Community Standup on September 14th, 2017

Kevin Gallo will be hosting Windows Community Standup on Channel 9 with Seth Juarez again on September 14th, 2017 at 10:30am PST! We’ll be streaming live and answering questions afterwards.
A few of the topics Kevin and Seth will be discussing are the Windows 10 Fall Creators Update SDK, what we’ll have at the Microsoft Ignite conference, modernizing your application and some exciting programming demos.
We learned a lot from our first Windows community standup and will hold monthly Windows community standups to provide additional transparency on what we are building out, and clarity on why we are building them. These stand ups may be tied to an event like Microsoft Build or on Channel 9. We’ll be testing different streaming technologies and interaction models to see what works best. We would love feedback on this as well.
Once again, we can’t wait to see you at 10:30am PST on September 14th, 2017 over at https://channel9.msdn.com.