The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Crahun (39) [Avatar] Offline
#1
I was trying to create my first view component and everything is ok but I've found a bug in your book smilie, Seems that the folder to put the razor views is wrong in the book, section 19.5:
Views/Shared/Component/MyRecipes/Default.cshtml

but should be
Views/Shared/Components/MyRecipes/Default.cshtml instead.


I've taken a look at microsoft docs and it says the same,
https://docs.microsoft.com/es-es/aspnet/core/mvc/views/view-components
Andrew Lock (51) [Avatar] Offline
#2
Hey, thanks - you're quite right! I'll get that fixed smilie