-
Notifications
You must be signed in to change notification settings - Fork 21
Home
Generate tile, toast, and badge notifications for Windows via code, with the help of IntelliSense, instead of directly using XML.
Supports adaptive tiles and adaptive/interactive toast notifications for Windows 10!
There are three main goals of NotificationsExtensions
- Make it easy to create tile, toast, and badge notifications from your code
- Ensure notification payloads are correctly formatted
- Ensure payloads consume as little space as possible (helping you stay under the 5 KB payload size limit)
NotificationsExtensions does the following...
- Automatically XML encodes string values
- Generates a minimal XML payload to keep payload size low (doesn't unnecessary write values that already match with default value)
- Provides IntelliSense support for all the supported properties/values of adaptive Tiles and adaptive/interactive toasts
- Supports some verification to ensure that your payload is valid
The easiest way to install NotificationsExtensions is through NuGet. The package is called "NotificationsExtensions.Win10", and NuGet will automatically select the correct version for you (WinRT or Portable) depending on your project.
Alternatively, you can clone this repo and add a reference to the NotificationsExtensions.Win10.WinRT or NotificationsExtensions.Win10.Portable project depending on your project's type.
Browse the links on the right side bar to learn how to use NotificationsExtensions for tiles, toasts, and badges.