https://github.com/tpeczek/demo.aspnetcore.pushnotifications
Sample project for demonstrating Push Notifications based on Push API and Web Push Protocol in ASP.NET Core
https://github.com/tpeczek/demo.aspnetcore.pushnotifications
asp-net-core push-api push-notifications web-push web-push-notifications
Last synced: 2 days ago
JSON representation
Sample project for demonstrating Push Notifications based on Push API and Web Push Protocol in ASP.NET Core
- Host: GitHub
- URL: https://github.com/tpeczek/demo.aspnetcore.pushnotifications
- Owner: tpeczek
- License: mit
- Created: 2017-12-28T19:48:05.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2025-01-20T14:43:46.000Z (9 months ago)
- Last Synced: 2025-03-28T10:07:09.310Z (6 months ago)
- Topics: asp-net-core, push-api, push-notifications, web-push, web-push-notifications
- Language: C#
- Size: 92.8 KB
- Stars: 157
- Watchers: 7
- Forks: 72
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Demo.AspNetCore.PushNotifications
Sample project for demonstrating Push Notifications based on Push API and Web Push Protocol in ASP.NET Core:
- [Push API](https://www.tpeczek.com/2017/12/push-notifications-and-aspnet-core-part.html)
- [Requesting Delivery](https://www.tpeczek.com/2018/01/push-notifications-and-aspnet-core-part.html) ([Lib.Net.Http.WebPush](https://github.com/tpeczek/Lib.Net.Http.WebPush))
- VAPID tokens caching
- [Replacing Messages & Urgency](https://www.tpeczek.com/2018/01/push-notifications-and-aspnet-core-part_18.html)
- [Special Cases](https://www.tpeczek.com/2019/02/push-notifications-and-aspnet-core-part.html)## 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:
```json
{
"ConnectionStrings": {
"PushSubscriptionSqliteDatabase": "Filename=./../pushsubscription.db"
},
"PushServiceClient": {
"Subject": "https://localhost:65506/",
"PublicKey": "",
"PrivateKey": ""
}
}
```Those keys can be acquired with help of online generators (https://vapidkeys.com/, https://www.attheminute.com/vapid-key-generator).
## Consulting and Professional Services
Do you need help with any of my libraries, or with building features on top of what they provide? What about ASP.NET Core architecture, Azure architecture, or DevOps? I offer consulting and development services.
[](https://calendly.com/tpeczek/30min)
[](mailto:tpeczek@gmail.com)## 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 [sponsoring me](https://github.com/sponsors/tpeczek) (either monthly or one-time).
## Copyright and License
Copyright © 2017 - 2025 Tomasz Pęczek
Licensed under the [MIT License](https://github.com/tpeczek/Demo.AspNetCore.PushNotifications/blob/master/LICENSE.md)