markjprice / apps-services-net8

Repository for the Packt Publishing book titled "Apps and Services with .NET 8" by Mark J. Price
109 stars 51 forks source link

Example switches from Model to ViewData change. #14

Closed Pip1987 closed 6 months ago

Pip1987 commented 6 months ago

On Page 1027-1028 (Kindle is hard to pinpoint) the example shows:

model.ShipperSummary = "Shipper from gRPC service:" +
    $"ID:{shipperReply.ShipperId}, Name:ShipperReply.CompanyName
    ....

however on page 1040 instead of assigning the information to model.ShipperSummary it assigns the data to ViewData["shipper"].

markjprice commented 6 months ago

Thanks Phil. I have added an item for this: https://github.com/markjprice/apps-services-net8/blob/main/docs/errata/errata.md#page-595---getting-request-and-response-metadata