Skip to content

gRPC helloworld with c++ server and C++ and C# clients. C++ built with cmake and managed with vcpkg.

Notifications You must be signed in to change notification settings

sarsw/gRPCMixlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC Mixed Language

Exercise with HelloWorld gRPC client and server in C++ with a C# client. C++ was managed via vcpkg and built using cmake. VSCode was the ide of choice with VS 2019 as the compiler.

Prerequisites

  1. Install VCPKG. I installed it under c:\src\vcpkg and added it to PATH
  2. Get VS2019 (Community edition will be ok)
  3. Get VSCode

Folder structure :

|______build
|______proto
| |______helloworld.proto
|
|______DotNetClient
|______src
| |______server.cpp
| |______client.cpp
|______CMakeLists.txt

See the C++ Readme for C++ build details. To compile and run the c# app use dotnet run from the DotNetClient folder.

About

gRPC helloworld with c++ server and C++ and C# clients. C++ built with cmake and managed with vcpkg.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published