< a href = "~/Views/Devices/Create.cshtml" > ~/ Views / Devices / Create.cshtml

Send Push Message


Developer Notes:
  • You can find the logic for sending a web push notification in Controllers/WebPushController.cs:Send
  • The Payload Generation Helper fields below are not sent to the web push api. They are simply used to generate the json payload which will be sent.
  • Client side code for handling push notifications can be found at wwwroot/sw.js
  • You can include any data in your payload, as long as your sw.js handles it.

Payload Generation Helper

Type your Title and Message and your payload will be generated below.
Back to List