/GrpcChat

Sample chat implemented with gRPC

Primary LanguageC#MIT LicenseMIT

GrpcChat

Chat example using gRPC

Contains:

  • Chat Server (Console)
  • Chat Client (Console)
  • Chat Client (Web) (still in progress)

Install

After restore and build GrpcChat.sln run this script to add grpc.tools into PATH variable:

do not forget to restart Visual Studio (and other terminals) after script run

$path = [Environment]::GetEnvironmentVariable("Path", [System.EnvironmentVariableTarget]::Machine);

if ([Environment]::Is64BitOperatingSystem){ $dir = "$($env:USERPROFILE)\.nuget\packages\grpc.tools\1.21.0\tools\windows_x64"; } else { $dir = "$($env:USERPROFILE)\.nuget\packages\grpc.tools\1.21.0\tools\windows_x86"; }

if (!$path.Contains($dir)) { $path += ";$dir"; [Environment]::SetEnvironmentVariable("Path", $path, [System.EnvironmentVariableTarget]::Machine); }