freechat icon indicating copy to clipboard operation
freechat copied to clipboard

I need a little help from you In Server

Open KevinAnass opened this issue 4 years ago • 11 comments

first, thank you a lot for your repo I need to do the same thing in my app but I am stuck in asp core and related between the app so if you have a Suggestion or docs that will be helpful for me I will so grateful

KevinAnass avatar Feb 02 '21 14:02 KevinAnass

Hello, I don't understand what you mean by being "stuck in asp core and related between the app" Please could you be more explicit?

DamienDoumer avatar Feb 02 '21 20:02 DamienDoumer

thank you for your response what I mean is how I can create a server and save all this in a database for this chat

KevinAnass avatar Feb 03 '21 22:02 KevinAnass

Oh, I see. What I can advice you is to:

  • Create an Asp.net core API (Here is a getting started guide)
  • Add Signalr for realtime functionalities like (message read, typing etc...) (Here is a guide to get started with SignalR)
  • Use firebase for message notifications when messages are sent to your app. (Here is an advanced guide I wrote, in case you have any difficulties implementing this)
  • Deploy on Azure

DamienDoumer avatar Feb 09 '21 09:02 DamienDoumer

thank you so so much bro

KevinAnass avatar Feb 13 '21 00:02 KevinAnass

Hey.

I tried out the sample and it is working great.

Can I deploy my SignalR asp.net app ONLY on Azure? Can I not deploy it to any other online asp.net web server?

Thanks.

aproko234 avatar Jul 06 '22 08:07 aproko234

Hello, of course you can deploy it on any server that has a linux, windows or macos OS. ASP.net core runs on all of these, and Signalr does too.

DamienDoumer avatar Jul 07 '22 08:07 DamienDoumer

Hi Damien,

Good evening.

I got your message and I have actually gone ahead to create my SignalRChat API and have hosted it on Microsoft Azure and also on Smarterasp.net. Both deployments appear to be working as they should be.

How do I then integrate the SignalrChat API with your freechat solution?

Thanks.

MD Idiake Chief Promoter of 234Aproko Kia-Kia Lost & Found Service and Goodnewsradio.ng

Sent from Mail for Windows

From: Damien Doumer Sent: Thursday, July 7, 2022 9:59 AM To: DamienDoumer/freechat Cc: aproko234; Comment Subject: Re: [DamienDoumer/freechat] I need a little help from you In Server (#3)

Hello, of course you can deploy it on any server that has a linux, windows or macos OS. ASP.net core runs on all of these, and Signalr does too. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

aproko234 avatar Jul 08 '22 18:07 aproko234

Hi @aproko234 ,

Here is good article about signalR on Xamarin Forms: https://git-commit.net/using-signalr-in-asp-net-core-6-xamarin-forms-with-google-provider-in-firebase-auth/ You can just follow what it says about integrating Signalr and create a chat hub, then listen to messages as you wish. You'll have to make some events to listen to new messages and update the UI.

DamienDoumer avatar Jul 09 '22 21:07 DamienDoumer

Ok.

I will revert once I have further issues.

Thanks.

MD Idiake Chief Promoter of 234Aproko Kia-Kia Lost & Found Service and Goodnewsradio.ng

Sent from Mail for Windows

From: Damien Doumer Sent: Saturday, July 9, 2022 10:31 PM To: DamienDoumer/freechat Cc: aproko234; Mention Subject: Re: [DamienDoumer/freechat] I need a little help from you In Server (#3)

Hi @aproko234 , Here is good article about signalR on Xamarin Forms: https://git-commit.net/using-signalr-in-asp-net-core-6-xamarin-forms-with-google-provider-in-firebase-auth/ You can just follow what it says about integrating Signalr and create a chat hub, then listen to messages as you wish. You'll have to make some events to listen to new messages and update the UI. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

aproko234 avatar Jul 10 '22 16:07 aproko234

Hi Damien,

I am trying to integrate your FreeChat solution to the app I am building and I am having issues.

What would be the best way to do this?

Do I add your solution (the four projects) to my solution (as is) making it a total of 7 projects or do I manually add in all the aspects of your solution into my solution (by creating relevant folders and copying in the .xaml and .cs files)?

I have actually tried both and I m unable to proceed.

I am getting this error: System.NullReferenceException: 'Object reference not set to an instance of an object.' At the point the FloatingButton.xaml is being initialized on the Android Emulator.

Do I send you my source code?

Thanks.

MD Idiake Chief Promoter of 234Aproko Kia-Kia Lost & Found Service and Goodnewsradio.ng

Sent from Mail for Windows

From: MD Idiake Sent: Sunday, July 10, 2022 5:04 PM To: DamienDoumer/freechat Subject: RE: [DamienDoumer/freechat] I need a little help from you In Server (#3)

Ok.

I will revert once I have further issues.

Thanks.

MD Idiake Chief Promoter of 234Aproko Kia-Kia Lost & Found Service and Goodnewsradio.ng

Sent from Mail for Windows

From: Damien Doumer Sent: Saturday, July 9, 2022 10:31 PM To: DamienDoumer/freechat Cc: aproko234; Mention Subject: Re: [DamienDoumer/freechat] I need a little help from you In Server (#3)

Hi @aproko234 , Here is good article about signalR on Xamarin Forms: https://git-commit.net/using-signalr-in-asp-net-core-6-xamarin-forms-with-google-provider-in-firebase-auth/ You can just follow what it says about integrating Signalr and create a chat hub, then listen to messages as you wish. You'll have to make some events to listen to new messages and update the UI. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

aproko234 avatar Jul 24 '22 18:07 aproko234

Hello @aproko234,

What you should do is just inspire yourself from my implementation of the Chat App. The app is not meant to be integrated into another app, since it is not a plugin. Just take inspiration from the code and the best practices I used. Leverage the design too to build your own.

DamienDoumer avatar Aug 09 '22 14:08 DamienDoumer