This sample app shows a C# implementation of how to send a push notification to a registered mobile device using Firebase Cloud Messaging.
-
Configure a Firebase project and get Firebase Cloud Messaging Server Key and Sender Id https://firebase.google.com/docs/cloud-messaging
-
Replace the keys in the code
-
Import the project using Visual Studio (2017 preferred) and play it
http://localhost:5000/api/index