Demo.AspNetCore.PushNotifications

Sample project for demonstrating Push Notifications based on Push API and Web Push Protocol in ASP.NET Core:

Running the Project

In order to run the project, some configuration is required. Inside appsettings.json there are placeholders to provide public and private VAPID keys:

{
  "ConnectionStrings": {
    "PushSubscriptionSqliteDatabase": "Filename=./../pushsubscription.db"
  },
  "PushServiceClient": {
    "Subject": "https://localhost:65506/",
    "PublicKey": "<Application Server Public Key>",
    "PrivateKey": "<Application Server Private Key>"
  }
}

Those keys can be acquired with help of online generators (https://web-push-libs.github.io/vapid/js/) or Node.js (https://rossta.net/blog/using-the-web-push-api-with-vapid.html).

Donating

My blog and open source projects are result of my passion for software development, but they require a fair amount of my personal time. If you got value from any of the content I create, then I would appreciate your support by buying me a coffee.

Copyright © 2017 - 2021 Tomasz Pęczek

Licensed under the MIT License

Demo.aspnetcore.pushnotifications

Sample project for demonstrating Push Notifications based on Push API and Web Push Protocol in ASP.NET Core

Demo.aspnetcore.pushnotifications Info

⭐ Stars 121
🔗 Source Code github.com
🕒 Last Update 8 months ago
🕒 Created 5 years ago
🐞 Open Issues 0
➗ Star-Issue Ratio Infinity
😎 Author tpeczek