DEV Community

Discussion on: ASP.NET Core Blog tutorial: using LiteDB

Collapse
 
zoltanhalasz profile image
Zoltan Halasz

I am referring to the html view, not the controller, there's missing something, if I follow part 1,2 and 3. You just iterate through something in the view, but show me the whole file, maybe in the header, @model xyz... is missing? Waiting for the GitHub repo, take your time, I am just studying this, no urgency.

Thread Thread
 
dayvster profile image
Dayvster 🌊

That is odd, I'll gladly create the repo right now for you to look at.

There ya go:
github.com/arctekdev/AspNetBlog

Thread Thread
 
zoltanhalasz profile image
Zoltan Halasz

It works now, thanks!

Thread Thread
 
dayvster profile image
Dayvster 🌊

\o/ all right! What was the issue if I may ask?

Thread Thread
 
zoltanhalasz profile image
Zoltan Halasz

I was playing around with the controller, and I forgot to add a .ToList(), I did a bit different version than yours.

Thread Thread
 
dayvster profile image
Dayvster 🌊

Awesome, glad you're experimenting, it's the best way to learn imho