Windows Template Studio (WinTS) is a Visual Studio 2019 Extension that accelerates the creation of new Universal Windows Platform (UWP) and Windows Presentation Foundation (WPF .NET Core 3.1) apps using a wizard-based experience. The resulting project is well-formed, readable code that incorporates great development features while implementing proven patterns and best practices. Sprinkled throughout the generated code we have links Docs, Stack Overflow and blogs to provide useful insights. WinTS supports creating UWP apps in C# or VB.Net and WPF (.NET Core 3.1) apps in C#.
We're also looking into creation of WinUI3 Desktop Apps. You can find more info on how to test and give feedback In our WinUI docs.
Branch | CI | Test Version | Version |
---|---|---|---|
release | |||
dev |
Branch | Full Tests | OneByOne Tests | WACK Tests |
---|---|---|---|
release | |||
dev |
The builds include test verifications to validate the contributions:
- CI Build: Includes all unit test + minimum integration verifications (minimum generation + build + code style rules). Runs every PR requested / PR accepted.
- Full Tests: Includes tests to verify combinations and variations of templates from a project generation point of view and builds the solutions generated to ensure no build time issues found. Runs every PR accepted and takes longer to be completed.
- One By One Tests: Includes tests to verify every template individually from a project generation point of view and builds the solutions generated to ensure no build time issues found. Runs once every week and takes longer to be completed.
- Wack Tests: Includes tests that run the App Certification Kit against the generated projects to ensure there are no issues blocking a submission to the store. Runs once nightly and takes quite a while to complete.
Windows Template Studio approaches UWP and WPF app creation using the following six attribute sets:
First, how do you want your app's UI navigation to behave?
UWP: Blank, Navigation Pane, Horizontal Navigation Pane, and a Menu Bar.
WPF: Blank, Navigation Pane, Menu Bar and a Ribbon.
Next, what coding pattern do you want to use in your project.
UWP: Code Behind, MVVM Basic, MVVMLight, Caliburn.Micro, and Prism.
WPF: Code Behind, MVVM Basic*, MVVMLight and Prism.
To accelerate app creation, we provide a number of app page templates you can use to add common UI pages into your new app. We currently include everything from a blank page, to common layouts (e.g., master/detail, web view), to pages that implement common patterns (e.g., app settings). Use the wizard to add as many of each page as you need, providing a name for each one, and we'll generate them for you.
Specify which capabilities you want to use in your app, and we'll build out the framework for the features into your app, tagging TODO
items. Here you can add features that enable your app to interact with storage, notifications, layout theming, etc.
Connect to data services, setup cloud connected services for your application, and enforce rules with the XAML Styler extension.
Lastly, you can include test projects for your application to run unit tests or use Selenium-like UI test automation.
After selecting the items wanted in your app, you can extend the generated code on UWP or WPF.
Please use GitHub issues for feedback, questions or comments.
If you have specific feature requests or would like to vote on what others are recommending, please go to the GitHub issues section as well. We would love to see what you are thinking.
Here is what we're currently thinking in our roadmap.
Do you want to contribute? We would love to have you help out. Here are our contribution guidelines.
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.
This code is distributed under the terms and conditions of the MIT license.
The extension logs basic telemetry regarding what is selected in the wizard. Our Telemetry Data page has the trends from the telemetry. Please read the Microsoft privacy statement for more information.
This project is supported by the .NET Foundation.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。