Earlier on Friday, Microsoft announced that it's evolving the popular Windows App Studio, which is going forward know as "Windows Template Studio," and also said, it's making the platform easier for developers to create Universal Windows Platform (UWP) apps.
With Windows Template Studio, Microsoft says it focus is on "high quality code generation for a strong starting point", from which developers can build their UWP apps.
Windows Template Studio, which is available as a Visual Studio 2017 extension is an open-source tool that accelerates the creation of new UWP apps using a wizard-based experience. The tool will provide developer a friendly wizard which serves as the foundations for building projects, and walks developers through four easy steps to quickly get start creating a new project:
- Project Type: Select between standard layouts and predefined controls.
- Framework selection: Select the structure of your UWP app with in-house and third-party support.
- App pages: Select which pages that make sense for the app, that you are trying to create.
- App features: Easily add features such as background tasks with one click.
To kick off a new UWP app project, you need to fire up Windows Template Studio, in the Visual Studio 2017 'New Project' dialog, select the Visual C# → Windows Universal node. Here you'll see Windows Template Studio project. Select project type, enter new UWP app's name, and click 'OK'. Windows Template Studio will now fire up and walk you through the UWP app creation wizard, step by step.
See the pictures below of Windows Template Studio project wizard and example app generated:
The resulting UWP project is well-formed, readable code that incorporates the latest Windows 10 features while implementing proven patterns and best practices.
For getting started with the tool, make sure to complete the following preliminary steps:
- Download Visual Studio 2017 and select Universal Windows Platform development under Workloads.
- Install the Visual Studio Extension for Windows Template Studio by downloading the VSIX from the Visual Studio Gallery.
- Once installed, open Visual Studio 2017 and select File-> New Project-> C#-> Windows Universal, and you should see the new template that was just added.