Questions tagged [razor-pages]
Razor Pages is an aspect of ASP.NET Core MVC that should make coding page-focused scenarios easier and more productive.
2
questions
3
votes
1
answer
112
views
Refactoring code to implement clean code using repositories
I've been refactoring code today, try to implement a clean code setup using repositories. Is this on track? Can any improvements be made?
...
3
votes
1
answer
129
views
Deserialize with LINQ query code in PageModel or PageView
Today I do something like this, where I get, select and sort some data and pass it on to the view (which loads a partial view) as a list of custom objects
Page model
...