Using raw push notifications in WinUI applications
As we discussed in the previous section, push notifications that are handled by the app without notifying the user are generated through WNS and Azure. In this section, we will briefly examine how these notifications can be leveraged in WinUI applications. The Azure configuration needed to get started is somewhat lengthy and not very interesting. Because the Azure Notification Hubs configuration for WNS is already well documented in the Azure docs on Microsoft Learn, you should review them before we get started: https://learn.microsoft.com/azure/notification-hubs/notification-hubs-windows-store-dotnet-get-started-wns-push-notification. It’s also a good idea to familiarize yourself with the WNS overview in the Windows design documentation on Microsoft Learn: https://learn.microsoft.com/windows/apps/design/shell/tiles-and-notifications/windows-push-notification-services--wns--overview.
The Azure documentation was written...