I am trying to find a way to send a toast notification from a windows universal application. The Azure documentation does mention a way to do this from a Console Application. This does not meet my use case though, where I want to send toast notifications from a windows universal application. The problem is the nugget package Microsoft.Azure.Service.Bus
is not compatible with a windows store or windows phone 8.1 application
.
Is there any Windows Azure library that will allow me to send a toast notification
from Windows universal application.
Typically you wouldn't send the toast from the Universal app. You would send the toast to the app to let the user know that something occurred on the server.
If you want to schedule a toast from the app to the local system then you don't need Azure (or another web service). You can schedule that directly with a scheduled notification. See Quickstart: Sending a toast notification (XAML) and How to schedule a toast notification (XAML)
If you want to push a notification elsewhere then you can set up an Azure Notification Hub and connect to it through its REST service via the HttpClient class.
More typically though your app would contact your back-end server to connect to the notification hub. This can be readily set up with an Azure Mobile Service. See Add push notifications to your Mobile Services app