On pages 706 (point 3), 710 (point 2) you write
add a statement ... before the call to UseEndpoints
but there'is no UseEndpoints call in the Program.cs code. webapi template has been changed?
On page 708 (point 8) SQL statement is mentioned, but I can't find it in the terminal output.