TrustyTea
Blazor Project Hierarchy
Yeah sorry, I kinda have 2 questions going there.
The main problem I'm having is trying to get my
/Account/
pages to work with an Interactive render mode. I'm just reading the comments on this AccountsLayout.razor
that came with the template that says
So it's then transitioned into a server-rendered page, and all my buttons and interactive components stop working because of that transition.
I tried to restart and make a new project with the Auto
rendering mode, but I was having the reference issues.
I'm either trying to find a way to fix that referencing issue, or find a way to keep my interactive render mode while keeping that HttpContext.5 replies
Minimal API : Model / DTO Help
I see 🤔 , yeah that makes sense. I also need to practice and learn some more LINQ. Thanks for the help! Just knowing that I should be using DTOs as part of my responses is enough of a direction to get me started on it. If I have some more questions, am I ok to come back to this thread?
27 replies
Minimal API : Model / DTO Help
So I'd be creating a new DTO in the requests, and populating it with the data from the database?
I had something like this before I went to what I have now:
I'll have to go back to this and figure it out now that I know to use DTOs as outgoing too. IIRC I wasn't getting the Tags in the response, just the IDs
27 replies