From 8a1900d7482235c8ee2a7e5092db948bf472b240 Mon Sep 17 00:00:00 2001 From: Mark J Price Date: Sun, 4 Dec 2022 20:07:46 +0000 Subject: [PATCH] Add item for page 627 --- docs/errata/README.md | 2 +- docs/errata/errata.md | 21 ++++++++++++++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/docs/errata/README.md b/docs/errata/README.md index 9f37972..c792eee 100644 --- a/docs/errata/README.md +++ b/docs/errata/README.md @@ -2,7 +2,7 @@ If you find any mistakes in the seventh edition, *C# 11 and .NET 7 - Modern Cross-Platform Development Fundamentals*, or if you have suggestions for improvements, then please [raise an issue in this repository](https://github.com/markjprice/cs11dotnet7/issues) or email me at markjprice (at) gmail.com. -[**Errata** (11 items)](errata.md): Typos, tool user interface changes, or mistakes in code that would cause a compilation error that prevents a successful build. +[**Errata** (12 items)](errata.md): Typos, tool user interface changes, or mistakes in code that would cause a compilation error that prevents a successful build. [**Improvements** (1 item)](improvements.md): Changes to text or code that would improve the content. These are optional. diff --git a/docs/errata/errata.md b/docs/errata/errata.md index eb9edb7..ee266f9 100644 --- a/docs/errata/errata.md +++ b/docs/errata/errata.md @@ -1,4 +1,4 @@ -**Errata** (11 items) +**Errata** (12 items) If you find any mistakes, then please [raise an issue in this repository](https://github.com/markjprice/cs11dotnet7/issues) or email me at markjprice (at) gmail.com. @@ -16,6 +16,7 @@ If you find any mistakes, then please [raise an issue in this repository](https: - [Page 322 - Revealing the location of a type](#page-322---revealing-the-location-of-a-type) - [Page 412 - Compressing streams](#page-412---compressing-streams) - [Page 477 - Inserting entities](#page-477---inserting-entities) +- [Page 627 - Defining a typed view](#page-627---defining-a-typed-view) # Page 4, 8 - Pros and cons of the .NET Interactive Notebooks extension, Downloading and installing Visual Studio Code @@ -157,3 +158,21 @@ It should use the method signature that allows multiple `productIds` to be highl ```cs ListProducts(productIdsToHighlight: new[] { resultAdd.productId }); ``` + +# Page 627 - Defining a typed view + +> Thanks to [Chadwick Geyser](https://github.com/chadwickgeyser) for raising this [issue on 4 December 2022](https://github.com/markjprice/cs11dotnet7/issues/6). + +In Step 3, the code in the book to render the carousel indicators has an incorrect attribute named `data-slide-to`, as shown in the following markup: +```xml +
  • +``` + +Should be `data-bs-slide-to`, as shown in the following markup: +```xml +
  • +``` + +It was already correct in the GitHub copy of the code.