Skip to content

Commit 9693475

Browse files
authored
Merge pull request #51043 from MicrosoftDocs/NEW-winui-101
New WinUI 101 course
2 parents 15052e9 + 43bdb2c commit 9693475

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2525
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.winui-101.introduction
3+
title: Overview of Windows development
4+
metadata:
5+
title: Introduction
6+
description: "Embark on your Windows development journey with this beginner-friendly course designed to get you up and running quickly. Learn how to set up a professional development environment using Visual Studio, understand the fundamentals of the WinUI3, Windows App SDK and CommunityToolkit, and grasp essential concepts of the MVVM architectural pattern. Through practical, hands-on experience building a simple word-guessing game, you'll gain the confidence and skills needed to start creating your own Windows applications. This course is perfect for aspiring Windows developers looking to build a solid foundation in modern development using cutting-edge tools and best practices."
7+
ms.date: 3/17/2025
8+
author: chatasweetie
9+
ms.author: jearleycha
10+
ms.topic: unit
11+
###########################################################################
12+
###
13+
### If your content is related to a product or service, apply one value from
14+
### the ms.service allowlist.
15+
###
16+
### If your content isn't about a product or service, you can omit the ms.service field.
17+
###
18+
### For the list of approved ms.service values, go to
19+
### https://review.learn.microsoft.com/help/platform/metadata-taxonomies?branch=main#msservice.
20+
###
21+
### To request new values, go to
22+
### https://review.learn.microsoft.com/help/platform/metadata-reporting-taxonomy-requests?branch=main.
23+
durationInMinutes: 7
24+
content: |
25+
[!include[](includes/1-introduction.md)]
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.winui-101.knowledge-check
3+
title: Knowledge check
4+
metadata:
5+
title: Knowledge check
6+
description: "Embark on your Windows development journey with this beginner-friendly course designed to get you up and running quickly. Learn how to set up a professional development environment using Visual Studio, understand the fundamentals of the WinUI3, Windows App SDK and CommunityToolkit, and grasp essential concepts of the MVVM architectural pattern. Through practical, hands-on experience building a simple word-guessing game, you'll gain the confidence and skills needed to start creating your own Windows applications. This course is perfect for aspiring Windows developers looking to build a solid foundation in modern development using cutting-edge tools and best practices."
7+
ms.date: 3/17/2025
8+
author: chatasweetie
9+
ms.author: jearleycha
10+
ms.topic: unit
11+
###########################################################################
12+
###
13+
### If your content is related to a product or service, apply one value from
14+
### the ms.service allowlist.
15+
###
16+
### If your content isn't about a product or service, you can omit the ms.service field.
17+
###
18+
### For the list of approved ms.service values, go to
19+
### https://review.learn.microsoft.com/help/platform/metadata-taxonomies?branch=main#msservice.
20+
###
21+
### To request new values, go to
22+
### https://review.learn.microsoft.com/help/platform/metadata-reporting-taxonomy-requests?branch=main.
23+
durationInMinutes: 5
24+
###########################################################################
25+
###
26+
### General guidance (https://review.learn.microsoft.com/help/learn/id-guidance-knowledge-check?branch=main)
27+
###  - Questions are complete sentences ending with a question mark
28+
###  - No true/false questions
29+
###  - 3 answers per question
30+
###  - All answers about the same length
31+
###  - Numeric answers listed in sorted order
32+
###  - No "All of the above" and/or "None of the above" as answer choices
33+
###  - No "Not" or "Except" in questions
34+
###  - No second person ("you") in the questions or answers
35+
###  - Provide a meaningful explanation for both correct and incorrect answers
36+
###
37+
###########################################################################
38+
content: |
39+
quiz:
40+
questions:
41+
- content: "Which statement best describes the roles of the Windows App SDK and the Community Toolkit in Windows development?"
42+
choices:
43+
- content: "That Windows App SDK offers those core tools and those APIs, while that Community Toolkit provides those helpers and those custom controls to simplify those tasks."
44+
isCorrect: true
45+
explanation: "That Windows App SDK offers those core tools and those APIs, while that Community Toolkit provides those helpers and those custom controls to simplify those tasks."
46+
- content: "The Windows App SDK provides UI controls, while the Community Toolkit manages app deployment."
47+
isCorrect: false
48+
explanation: "That Windows App SDK includes WinUI which is the UI control aspect."
49+
- content: "The Windows App SDK is for C++ development, while the Community Toolkit supports C# development."
50+
isCorrect: false
51+
explanation: Both SDK and Toolkit support that C# and that C++."
52+
53+
- content: "Which statements are true for Windows App SDK?"
54+
choices:
55+
- content: "Restricts those apps to those specific Windows versions."
56+
isCorrect: false
57+
explanation: "Windows App SDK does that opposite; it avoids restricting those apps to those specific Windows versions."
58+
- content: "Only supports those older Windows features."
59+
isCorrect: false
60+
explanation: "Windows App SDK supports those modern Windows features."
61+
- content: "Ensures that compatibility across those devices by decoupling from that OS."
62+
isCorrect: true
63+
explanation: "Windows App SDK decouples from that underlying operating system, allowing this app to access those latest features without being tied to a specific Windows version."
64+
65+
- content: "In that MVVM architectural pattern, that View's primary responsibility is to:"
66+
choices:
67+
- content: "Handle those data transformations."
68+
isCorrect: false
69+
explanation: "ViewModel handles those data transformations."
70+
- content: "Display that data and handle those user interactions."
71+
isCorrect: true
72+
explanation: "That View is that User Interface (UI) of that application. It displays that data to those users and handles those user interactions."
73+
- content: "Manage this application logic."
74+
isCorrect: false
75+
explanation: "Model handles this application logic."
76+
77+
- content: "There is a key difference between {x:Bind} and {Binding} in when that binding expression is resolved. When does that {x:Bind} expression get resolved?"
78+
choices:
79+
- content: "At compile time, when this application is built."
80+
isCorrect: true
81+
explanation: "{x:Bind} expression is compiled, which means it's validated and resolved at compile time, leading to better performance and compile-time error checking."
82+
- content: "At runtime, when this application is executing."
83+
isCorrect: false
84+
explanation: "{Binding} is resolved at runtime."
85+
- content: "When that user interacts with that UI element."
86+
isCorrect: false
87+
explanation: "This user interaction doesn't trigger that resolution of that {x:Bind}, though it might trigger a change that the binding reflects."
88+
89+
- content: "What is that purpose of that ResourceDictionary in XAML?"
90+
choices:
91+
- content: "To store this application data."
92+
isCorrect: false
93+
explanation: "This application data is typically stored in those data models or those settings files."
94+
- content: "To manage that memory allocation."
95+
isCorrect: false
96+
explanation: "Memory allocation is handled by that .NET runtime"
97+
- content: "To define and organize those styles and those resources."
98+
isCorrect: true
99+
explanation: "A ResourceDictionary allows that user to centralize and reuse those styles, those templates, and those other resources within this application, making it easier to maintain a consistent look and feel."
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.winui-101.summary
3+
title: Summary
4+
metadata:
5+
title: Summary
6+
description: "Embark on your Windows development journey with this beginner-friendly course designed to get you up and running quickly. Learn how to set up a professional development environment using Visual Studio, understand the fundamentals of the WinUI3, Windows App SDK and CommunityToolkit, and grasp essential concepts of the MVVM architectural pattern. Through practical, hands-on experience building a simple word-guessing game, you'll gain the confidence and skills needed to start creating your own Windows applications. This course is perfect for aspiring Windows developers looking to build a solid foundation in modern development using cutting-edge tools and best practices."
7+
ms.date: 3/17/2025
8+
author: chatasweetie
9+
ms.author: jearleycha
10+
ms.topic: unit
11+
###########################################################################
12+
###
13+
### If your content is related to a product or service, apply one value from
14+
### the ms.service allowlist.
15+
###
16+
### If your content isn't about a product or service, you can omit the ms.service field.
17+
###
18+
### For the list of approved ms.service values, go to
19+
### https://review.learn.microsoft.com/help/platform/metadata-taxonomies?branch=main#msservice.
20+
###
21+
### To request new values, go to
22+
### https://review.learn.microsoft.com/help/platform/metadata-reporting-taxonomy-requests?branch=main.
23+
durationInMinutes: 1
24+
content: |
25+
[!include[](includes/11-summary.md)]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.winui-101.dev-set-up
3+
4+
title: Dev setup and project structure
5+
metadata:
6+
title: Dev Setup and Project Structure
7+
description: "Embark on your Windows development journey with this beginner-friendly course designed to get you up and running quickly. Learn how to set up a professional development environment using Visual Studio, understand the fundamentals of the WinUI3, Windows App SDK and CommunityToolkit, and grasp essential concepts of the MVVM architectural pattern. Through practical, hands-on experience building a simple word-guessing game, you'll gain the confidence and skills needed to start creating your own Windows applications. This course is perfect for aspiring Windows developers looking to build a solid foundation in modern development using cutting-edge tools and best practices."
8+
ms.date: 3/17/2025
9+
author: chatasweetie
10+
ms.author: jearleycha
11+
ms.topic: unit
12+
###########################################################################
13+
###
14+
### If your content is related to a product or service, apply one value from
15+
### the ms.service allowlist.
16+
###
17+
### If your content isn't about a product or service, you can omit the ms.service field.
18+
###
19+
### For the list of approved ms.service values, go to
20+
### https://review.learn.microsoft.com/help/platform/metadata-taxonomies?branch=main#msservice.
21+
###
22+
### To request new values, go to
23+
### https://review.learn.microsoft.com/help/platform/metadata-reporting-taxonomy-requests?branch=main.
24+
durationInMinutes: 20
25+
content: |
26+
[!include[](includes/2-dev-set-up.md)]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.winui-101.build-view
3+
4+
title: Building the View
5+
metadata:
6+
title: Building the View
7+
description: "Embark on your Windows development journey with this beginner-friendly course designed to get you up and running quickly. Learn how to set up a professional development environment using Visual Studio, understand the fundamentals of the WinUI3, Windows App SDK and CommunityToolkit, and grasp essential concepts of the MVVM architectural pattern. Through practical, hands-on experience building a simple word-guessing game, you'll gain the confidence and skills needed to start creating your own Windows applications. This course is perfect for aspiring Windows developers looking to build a solid foundation in modern development using cutting-edge tools and best practices."
8+
ms.date: 3/17/2025
9+
author: chatasweetie
10+
ms.author: jearleycha
11+
ms.topic: unit
12+
###########################################################################
13+
###
14+
### If your content is related to a product or service, apply one value from
15+
### the ms.service allowlist.
16+
###
17+
### If your content isn't about a product or service, you can omit the ms.service field.
18+
###
19+
### For the list of approved ms.service values, go to
20+
### https://review.learn.microsoft.com/help/platform/metadata-taxonomies?branch=main#msservice.
21+
###
22+
### To request new values, go to
23+
### https://review.learn.microsoft.com/help/platform/metadata-reporting-taxonomy-requests?branch=main.
24+
durationInMinutes: 7
25+
content: |
26+
[!include[](includes/3-build-view.md)]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.winui-101.select-random-word
3+
4+
title: Build select the random word
5+
metadata:
6+
title: Select the Random Word
7+
description: "Embark on your Windows development journey with this beginner-friendly course designed to get you up and running quickly. Learn how to set up a professional development environment using Visual Studio, understand the fundamentals of the WinUI3, Windows App SDK and CommunityToolkit, and grasp essential concepts of the MVVM architectural pattern. Through practical, hands-on experience building a simple word-guessing game, you'll gain the confidence and skills needed to start creating your own Windows applications. This course is perfect for aspiring Windows developers looking to build a solid foundation in modern development using cutting-edge tools and best practices."
8+
ms.date: 3/17/2025
9+
author: chatasweetie
10+
ms.author: jearleycha
11+
ms.topic: unit
12+
###########################################################################
13+
###
14+
### If your content is related to a product or service, apply one value from
15+
### the ms.service allowlist.
16+
###
17+
### If your content isn't about a product or service, you can omit the ms.service field.
18+
###
19+
### For the list of approved ms.service values, go to
20+
### https://review.learn.microsoft.com/help/platform/metadata-taxonomies?branch=main#msservice.
21+
###
22+
### To request new values, go to
23+
### https://review.learn.microsoft.com/help/platform/metadata-reporting-taxonomy-requests?branch=main.
24+
durationInMinutes: 10
25+
content: |
26+
[!include[](includes/4-select-random-word.md)]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.winui-101.add-alphabet-buttons
3+
4+
title: Add dynamic alphabet buttons
5+
metadata:
6+
title: Add Dynamic Alphabet Buttons
7+
description: "Embark on your Windows development journey with this beginner-friendly course designed to get you up and running quickly. Learn how to set up a professional development environment using Visual Studio, understand the fundamentals of the WinUI3, Windows App SDK and CommunityToolkit, and grasp essential concepts of the MVVM architectural pattern. Through practical, hands-on experience building a simple word-guessing game, you'll gain the confidence and skills needed to start creating your own Windows applications. This course is perfect for aspiring Windows developers looking to build a solid foundation in modern development using cutting-edge tools and best practices."
8+
ms.date: 3/17/2025
9+
author: chatasweetie
10+
ms.author: jearleycha
11+
ms.topic: unit
12+
###########################################################################
13+
###
14+
### If your content is related to a product or service, apply one value from
15+
### the ms.service allowlist.
16+
###
17+
### If your content isn't about a product or service, you can omit the ms.service field.
18+
###
19+
### For the list of approved ms.service values, go to
20+
### https://review.learn.microsoft.com/help/platform/metadata-taxonomies?branch=main#msservice.
21+
###
22+
### To request new values, go to
23+
### https://review.learn.microsoft.com/help/platform/metadata-reporting-taxonomy-requests?branch=main.
24+
durationInMinutes: 10
25+
content: |
26+
[!include[](includes/5-add-alphabet-buttons.md)]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.winui-101.game-play
3+
4+
title: Build game play
5+
metadata:
6+
title: Add Game Play
7+
description: "Embark on your Windows development journey with this beginner-friendly course designed to get you up and running quickly. Learn how to set up a professional development environment using Visual Studio, understand the fundamentals of the WinUI3, Windows App SDK and CommunityToolkit, and grasp essential concepts of the MVVM architectural pattern. Through practical, hands-on experience building a simple word-guessing game, you'll gain the confidence and skills needed to start creating your own Windows applications. This course is perfect for aspiring Windows developers looking to build a solid foundation in modern development using cutting-edge tools and best practices."
8+
ms.date: 3/17/2025
9+
author: chatasweetie
10+
ms.author: jearleycha
11+
ms.topic: unit
12+
###########################################################################
13+
###
14+
### If your content is related to a product or service, apply one value from
15+
### the ms.service allowlist.
16+
###
17+
### If your content isn't about a product or service, you can omit the ms.service field.
18+
###
19+
### For the list of approved ms.service values, go to
20+
### https://review.learn.microsoft.com/help/platform/metadata-taxonomies?branch=main#msservice.
21+
###
22+
### To request new values, go to
23+
### https://review.learn.microsoft.com/help/platform/metadata-reporting-taxonomy-requests?branch=main.
24+
durationInMinutes: 7
25+
content: |
26+
[!include[](includes/6-game-play.md)]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.winui-101.style
3+
4+
title: Add styles
5+
metadata:
6+
title: Add Style
7+
description: "Embark on your Windows development journey with this beginner-friendly course designed to get you up and running quickly. Learn how to set up a professional development environment using Visual Studio, understand the fundamentals of the WinUI3, Windows App SDK and CommunityToolkit, and grasp essential concepts of the MVVM architectural pattern. Through practical, hands-on experience building a simple word-guessing game, you'll gain the confidence and skills needed to start creating your own Windows applications. This course is perfect for aspiring Windows developers looking to build a solid foundation in modern development using cutting-edge tools and best practices."
8+
ms.date: 3/17/2025
9+
author: chatasweetie
10+
ms.author: jearleycha
11+
ms.topic: unit
12+
###########################################################################
13+
###
14+
### If your content is related to a product or service, apply one value from
15+
### the ms.service allowlist.
16+
###
17+
### If your content isn't about a product or service, you can omit the ms.service field.
18+
###
19+
### For the list of approved ms.service values, go to
20+
### https://review.learn.microsoft.com/help/platform/metadata-taxonomies?branch=main#msservice.
21+
###
22+
### To request new values, go to
23+
### https://review.learn.microsoft.com/help/platform/metadata-reporting-taxonomy-requests?branch=main.
24+
durationInMinutes: 5
25+
content: |
26+
[!include[](includes/7-style.md)]

0 commit comments

Comments
 (0)