seahood
❔ Razor pages view
no problem! this article might be some good further reading
https://www.learnrazorpages.com/razor-pages/model-binding
22 replies
❔ Razor pages view
this is the model it refers to
https://github.com/kontent-ai/sample-app-razorpages/blob/62e2bdd1728add80a54029a2a8f653d993ad38d9/sample-app-razorpages/Pages/Cafes/Index.cshtml.cs
22 replies
❔ Razor pages view
so if you create a new razor page in visual studio, there will be a
SomePage.cshtml
and an associated SomePage.cshtml.cs
(you might need to expand the cshtml
one to see it, like you would a folder). the .cs
file is the model for the razor page22 replies