Export Data to FireBase

0

I would like to export data to my DB FireBase .

I have a service created in Visual Studio in C # that creates a list with name and price. I need to export this data to FireBase or export a txt file, if need be, I already do this.

Note: The data is already in the JSON format.

Here I call my method to convert the format to JSON:

Library.ConverterJSON(listaAlterada);

In this other part is the method in which I convert the data:

public static void ConverterJSON(List<Tabela> listaAlterada)
    {
        string json = JsonConvert.SerializeObject(listaAlterada);
        File.WriteAllText(@"C:\Users\hmogu\OneDrive\Documentos\Visual Studio 2015\Projects\TestWindowsService\TestWindowsService\bin\Debug\JSON.txt", json);
    }

In this method I print the data in a txt file.

The question is: I would like to get this data printed in the txt block of my machine and export it / send it to my FireBase database.

    
asked by anonymous 30.01.2017 / 14:19

0 answers