Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
using FireSharp;
using FireSharp.Config;
using FireSharp.Interfaces;
using FireSharp.Response;
using System;
namespace FireBaseChat
class Program
static private IFirebaseClient client;
static void Main(string[] args)
client = new FirebaseClient(new FirebaseConfig
AuthSecret = "DB Secret Key",
BasePath = "DB URL"
PostMessage("Hello, Firebase!!!");
private static async void PostMessage(string message)
PushResponse result = await client.PushAsync("chats/", new Message { MessageString = message });
public class Message
public string MessageString { get; set; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.