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