-
Book Overview & Buying
-
Table Of Contents
Programming APIs with C# and .NET
By :
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, and user input. Here is an example: "This can be changed in the host.json file under the extensions > http > routePrefix setting:"
A block of code is set as follows:
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
},
"enableLiveMetricsFilters": true
}
},
"extensions": {
"http": {
"routePrefix": "myapi"
}
}
} When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
CarDtoValidator validator = new CarDtoValidator();
var result = validator.Validate(carAsDto);
if (!result.IsValid)
{
return BadRequest(result.Errors);
} Any command-line input or output is written as follows:
git clone https://github.com/MicrosoftDocs/mslearn-dotnet-cloudnative-devops.git eShopLite
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “Select Azure Function App (Linux) and click Next.”
Tips or important notes
Appear like this.