Describe the issue
The sample is outdated and needs to be updated to .NET 10 AND to use the new features/conventions of .NET 10.
To Reproduce
- Look at the sample
- Weep as it is not .NET 10
Expected behavior
The sample is up to date.
Issue Details
⚠ Do not edit this section. It is required for issue processing.