XF Chat with websockets and AWS or Other Providers

Bob 1 Reputation point
2021-04-25T03:46:21.27+00:00

Hi,

I have cross platform development with XF 4.8 currently taht targets android and ios. I need a chat function that works with XF real time bidirectionally. I know of SignalR but since my backend is on aws. i need something that will work with their api mgr/lambda WebSocket/dynamo db or a third party provider that is easy with XF to communicate over sockets. I don't think SignalR works well with the similar constructs structure on aws.

I found this but this nuget, but the system sockets hasnt been updated since 2017 and who know s how it plays with XF. https://devblogs.microsoft.com/xamarin/developing-real-time-communication-apps-with-websocket/

Has anyone implemented chat with their own capability on aws or a third party successfully with XForms. Can you please provide advice, sample, or repos. Or if someone has implemented chat on Azure SignalR that uses aws for their backend containers and data persistence that would be useful

Thank you so much
Bob

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,301 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
122 questions
{count} votes

2 answers

Sort by: Most helpful
  1. JessieZhang-MSFT 7,706 Reputation points Microsoft Vendor
    2021-04-26T05:30:44.193+00:00

    Hello,

    Welcome to our Microsoft Q&A platform!

    Here are several choices that may helps you.

    1. Jamesmontemagno 's app-monkeychat with source code
      https://github.com/jamesmontemagno/app-monkeychat
    2. The solution includes more than 30+ features.
      https://github.com/Doughouzlight/Xamarin_Forms_Wowonder-Messenger-v1.3
    3. XamChat of jamesmontemagno
      https://github.com/jamesmontemagno/XamChat
    4. FCM Chatting App
      https://github.com/twilio/TwilioChatXamarinBindings

    Best Regards,

    Jessie Zhang

    ---
    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Lex Li (Microsoft) 4,742 Reputation points Microsoft Employee
    2023-04-02T06:15:56.5133333+00:00

    "I don't think SignalR works well with the similar constructs structure on aws" isn't true. AWS does have .NET support so you can host your own .NET applications on their services to fully explore the features offered by Microsoft .NET platform.

    I think you can easily host your own ASP.NET Core SignalR app there to serve all your Xamarin.Forms clients, if you cannot use Azure SignalR Service yet.

    0 comments No comments