/asp-net-core-firebase-cloud-messaging

C# implementation of how to send a push notification to a registered mobile device using Firebase Cloud Messaging.

Primary LanguageC#

ASP.NET Core + Firebase Cloud Messaging

This sample app shows a C# implementation of how to send a push notification to a registered mobile device using Firebase Cloud Messaging.

Configure and complete the code

  1. Configure a Firebase project and get Firebase Cloud Messaging Server Key and Sender Id https://firebase.google.com/docs/cloud-messaging

  2. Replace the keys in the code

  3. Import the project using Visual Studio (2017 preferred) and play it

Open on browser

http://localhost:5000/api/index