As of May 31, 2023, we have updated our Code of Conduct.

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.

Filter by
Sorted by
Tagged with
3 votes
1 answer

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? ...
MM1010's user avatar
  • 133
3 votes
1 answer

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 ...
Asons's user avatar
  • 178