Project layout

For this project, we'll need the following elements:

  • Chat Server: This will be our server-side C# code that will process and direct the messages sent from the client(s)
  • Chat Client(s): A client will consist of JavaScript functions for sending messages to and receiving messages from the server, and HTML elements for display

We'll start with the server code and move over to the client, building a simple bootstrap layout and calling some JavaScript functions from there.

As a bonus, we'll include a method to archive our conversation history to a text file.

Get C# 7 and .NET Core 2.0 Blueprints 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.