A simple console chat service that allows the multiple clients connections
dotnet core CLI: https://dotnet.microsoft.com/download
From the root directory:
- To run the server use the command: dotnet run --project chatServer/
- To run the client use the command: dotnet run --project chatClient/
- To run the unit tests use the command: dotnet test chatTest/chatTest.csproj
-
Run the server instance
-
Run one or more client instances
-
Follow the instructions in the client terminal to login
-
You can:
4.1) Write a message to be broadcast to all users logged in the chat.
4.2) write the following commands:
- /p [user] [message] Writes a private message to a specific user - /exit Logout from the chat
An example of a chat exchange:
Project developed using dotnet core version 5.0 and Visual Studio Code Version: 1.57.1 (Universal)