Assessments
You'll find the answers to the questions in all chapters of the book in this section.
Chapter 1, Creating a Basic gRPC Application on ASP.NET Core
- B. "You cannot have a Protobuf message definition without any fields" is an incorrect statement. You can have empty message definitions in Protobuf.
- A. ASP.NET Core is a cross-platform framework that works on Windows, Linux, and macOS, so gRPC can be implemented on them.
- C. You need to register each proto file by adding a Proto element to your project file. Then, you can specify the GrpcServices attribute inside it, which can be set to Server, Client, or Both. It's set to Both by default, so if you don't specify this attribute, both client and the server code will be generated. If you ...
Get Microservices Communication in .NET Using gRPC now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.