Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions hub/apps/develop/security/share-certificates.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ Apps can authenticate to a web service using a certificate, and multiple apps ca
{
return true;
}

return false;
}
}
```
Expand Down
1 change: 0 additions & 1 deletion hub/apps/develop/security/smart-cards.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ bool result = await provisioning.RequestPinResetAsync(
deferral.Complete();
}
});
}
```

## Remove a smart card or virtual smart card
Expand Down
6 changes: 3 additions & 3 deletions hub/apps/develop/security/use-cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ navigator.credentials.create({
// User-friendly name of your service.
name: "Passkeys Developer",
// Relying party (RP) identifier (hostname/FQDN).
id: passkeys.contoso"
id: "passkeys.contoso"
},

user: {
Expand Down Expand Up @@ -242,10 +242,10 @@ navigator.credentials.get({
rpId: ...,
allowCredentials: [{
type: "public-key",
id: new UInt8Array([21, 31, 56, ...]).buffer,
id: new Uint8Array([21, 31, 56, ...]).buffer,
}, {
type: "public-key",
id: new UInt8Array([21, 31, 56, ...]).buffer,
id: new Uint8Array([21, 31, 56, ...]).buffer,
}, {
...
}],
Expand Down
2 changes: 1 addition & 1 deletion hub/apps/develop/security/windows-hello-auth-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ In this exercise, you start with the Windows Hello application built in the firs
// If the UserAccountList does not contain the sampleUser Initialize the sample users
// This is only needed as it in a Hand on Lab to demonstrate a user migrating
// In the real world user accounts would just be in a database
if (!_mockDatabaseUserAccountsList.Any(f = > f.Username.Equals("sampleUsername")))
if (!_mockDatabaseUserAccountsList.Any(f => f.Username.Equals("sampleUsername")))
{
//If the list is empty InitializeSampleUserAccountsAsync and return the list
await InitializeSampleUserAccountsAsync();
Expand Down
4 changes: 2 additions & 2 deletions hub/apps/develop/security/windows-hello-login.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ In this exercise you will learn how to check if Windows Hello is setup on the ma
- Now that you have created the **CreateWindowsHelloKeyAsync** method, return to the Login.xaml.cs file and uncomment the code inside the SignInWindowsHelloAsync method.

```cs
private async void SignInWindowsHelloAsync()
private async Task SignInWindowsHelloAsync()
{
if (AccountHelper.ValidateAccountCredentials(UsernameTextBox.Text))
{
Expand Down Expand Up @@ -631,7 +631,7 @@ In this exercise, you will continue from the previous exercise. When a user succ
- In the **SignInWindowsHelloAsync** method (in Login.xaml.cs), once the **CreateWindowsHelloKeyAsync** is successful, it should navigate to the **Welcome** page and pass the **Account**.

```cs
private async void SignInWindowsHelloAsync()
private async Task SignInWindowsHelloAsync()
{
if (AccountHelper.ValidateAccountCredentials(UsernameTextBox.Text))
{
Expand Down
2 changes: 1 addition & 1 deletion hub/apps/how-tos/ai-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Run this command in your project root (or any directory where you want Copilot t
copilot plugin install winui3-development@awesome-copilot
```

This copies agents, skills, and custom instructions into your project's `.github/` directory. Copilot automatically picks them up the next time you open the project.
This copies agents, skills, and custom instructions into your project's `.github/` directory. Copilot automatically picks them up the next time you open the project. After installation, run `copilot plugin list` and confirm that `winui3-development@awesome-copilot` appears in the installed plugins list.

> [!TIP]
> You can also browse and install Copilot plugins directly from VS Code using the [Awesome Copilot extension](https://marketplace.visualstudio.com/items?itemName=TimHeuer.awesome-copilot).
Expand Down