Building a Real-Time Chat Application

In this chapter, we will build a chat app with real-time communication. In the app, you will be able to send and receive messages and photos to and from other users, which will appear without a manual refresh. We will look at how we can use SignalR to implement a real-time connection with the server.

The following topics will be covered in this chapter:

  • How to use SignalR in a Xamarin.Forms app
  • How to use template selectors for a CollectionView
  • How to use CSS styling in a Xamarin.Forms app

Let's get started.

Technical requirements

Before you can build the app for this project, you need to build the backend that we detailed in Chapter 8, Setting Up a Backend for a Chat App Using Azure Services. You will ...

Get Xamarin.Forms Projects - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.