Chat app android native using C# and Firebase - c#

I want to develop a chat module in my existing app built using android native java. Currently my user account and all data saved in sql server with backend built on C# MVC framework. Now I am confused what structure I need to follow to built chat module, I have watched many firebase tutorials but they all used firebase realtime database and save user in firebase database but I already have my data in sql server. Anyone please guide me how start with it or do you guys give any suggestion to me.

Related

c# database access code on android with angular nativescript

I want to create a native android app by using angular nativescript because I already have angular knowledge. I do not need to re-use angular code because of a parallel existing web app. There will just be the android app.
The user will create and save some data which could be stored on a sqlite/room database on the smartphone. All links about data access I found are about JAVA.
How can I write the backend database access code with C#. Even better would be an ORM to access the local persistent store. I do not want to create a database on azure and make it available via C# web api. Thats total overhead for my situation.

Can Web Application Retrieve Data from Firebase Database using C#?

I have an Android mobile application that used to upload image and text to Firebase Database. Now, I have another web application that using C#, this is used to retrieve the data (which uploaded by the mobile app) from the Firebase. I found some examples regarding on how to retrieve data using C#, but it needs to "Add Firebase to your Web App" . Is it possible that not adding web app? Thank you.
I mean, is it possible that my mobile and web applications use the same Firebase Database/Storage, and both applications can add, edit, delete the data in the same Firebase Database/Storage?
Yes, it is possible to have an ios and web application using the same realtime database and same storage.
From the firebase docs:
The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client. When you build cross-platform apps with our iOS, Android, and JavaScript SDKs, all of your clients share one Realtime Database instance and automatically receive updates with the newest data.
To add web or ios to the project, you need to go to the firebase console and then click on add another app and choose if ios/android/web and just follow the steps.

How to connect my new Xamarin application to an existent azure DB?

I started developing a new Cross-Platform app with Xamarin.
For other projects my teammates created an azureDB with certain tables that I want to Query for my new Application. Can anyone tell me how to connect my new app to the AzureDB?
Thanks!
The recommended way to connect to the database is using an API that will manage the interaction with the database. On this article you will find how to build a REST API to access an Azure SQL Database.

Using ADO.NET in UWP apps possible?

I am trying to use ADO.NET so that my C# UWP app can access my Azure SQL database but when I try to refer to "System.Data.SqlClient", it is not readily available. I tried importing the "System.Data.dll" file but that led to a new host of errors.
I'm being led to believe that ADO.NET is not compatible with UWP apps. The problem with that is that I can't find another technology that will allow me to work with my Azure SQL database. Am I missing something here?
The best way to handle this is to create a full web api solution.
So, at the end, you will have
An Azure SQL Database
A Web API website , which will expose your datas in a JSON format. Using Entity Framework is not mandatory but can help in some way :)
An UWP application which will request your Web API endpoints
You will find here a complete solution : http://www.asp.net/web-api/overview/data/using-web-api-with-entity-framework/part-1
Latest UWP platform offers connectivity to SQl Server .
Please refer
https://learn.microsoft.com/en-us/windows/uwp/data-access/sql-server-databases

Fetching facebook data in c# using Parse

I'm currently developing an app for windows phone 8.0 that needs to fetch Facebook data(username) and display and then save it in a Parse Cloud server. I'm using Parse-Single sign on mechanism.The app authenticates through Facebook, connects successfully to Parse-server but I cannot fetch data I have tried graph API, but it doesn't seem to work...
Any help appreciated :)

Categories