gRPC server in a WorkerService
A few days ago, I was working on a client-server application where I was going to use Sockets to establish communication. But then I had the idea that I could use gRPC, which would expand the range of possible clients. Plus, it would serve as a learning experience for me to use gRPC. The first surprise was that Visual Studio only offers a gRPC template that requires an ASP.Net server. So, I decided to do some research since my application would use a WorkerService that would likely run as a Docker image. After doing a little research, I decided to start testing, and this is the result. Server The first step is to generate a WorkerService application in Visual Studio. Then, the following Nuget packages in their most updated version should be added: <PackageReference include="Grpc" version="2.46.6"> <PackageReference include="Google.Protobuf" version="3.22.1"> <PackageReference Include="Grpc.Tools" Version="2.53.0...