Skip to header Skip to main navigation Skip to main content Skip to footer

User account menu

  • Log in
Amaël BERTEAU
Software Craftsman & Maker

Main navigation

  • Home
  • News
  • Software Engineering
  • Maker
  • Entrepreneuriat
  • Misc
  • Personal Projects
    • Bio
    • Curriculum Vitae
    • Skills
    • Likes
    • My Values
    • Quotes
    • Favorite Books
    • Favorite Tools

Integrate Firebase Cloud Messaging in your .Net Application

Breadcrumb

  • Home
  • Software Engineering
  • Integrate Firebase Cloud Messaging in your .Net Application

Software Engineering

  • Agile
  • Concepts / Practices
  • Architecture / Design
  • Implementation
  • Tools
    • FR
    • EN
By aberteau | 2:04 AM CEST, Wed July 26, 2017

You will find some components, based on Json.Net and HttpClient, that allow .Net applications to communicate with Firebase Cloud Messaging

Data contracts

We define data contracts. This classes represent data exchanged with FCM API.

About FCM Messages

NotificationMessagePayload

Message

MessagingHelper

The following static functions allow us to interact with FCM Server

Their responsabilities :

  • serialize DataContracts to JSON
  • post to FCM server using HttpClient

Message Usage

Message with data payload

Previously in this tutorial, we defined Message<T> which contains Data property (type defined with T parameter type).

In the following example, we will use it to declare a new message type DataChangedMessage which contains DataChangedMessagePayload.

DataChangedMessagePayload

DataChangedMessage

DataChangedMessage Usage

Firebase Cloud Messaging
.Net

Footer menu

  • Contact

Copyright © 2026 Amael BERTEAU - All rights reserved