Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The main service here is called Primecalculator
; you can see it in the top left. The other three consumers are Primeclienta
, Primeclientb
, and Primeclientc
."
A block of code is set as follows:
syntax = "proto3"; option csharp_namespace = "microservicesapp"; package prime;
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
syntax = "proto3"; option csharp_namespace = "microservicesapp"; package prime;
Any command-line input or output is written as follows:
wsl --set-default-version 2
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "If you are using Visual Studio 2019, you can right-click on Connected Services, add a gRPC service reference, and point it to the Proto file created before in the server service."
Tips or important notes
Appear like this.