Thanks to visit codestin.com
Credit goes to github.com

Skip to content

diegofrancisco/chatService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Service

A simple console chat service that allows the multiple clients connections

Table of Contents

Requirements

dotnet core CLI: https://dotnet.microsoft.com/download

Setup

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

Usage

  1. Run the server instance

  2. Run one or more client instances

  3. Follow the instructions in the client terminal to login

  4. 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:

About

Project developed using dotnet core version 5.0 and Visual Studio Code Version: 1.57.1 (Universal)

About

A simple console chat servive that allows the connection of multiple clients

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages