concept business logic in category asp.net

This is an excerpt from Manning's book ASP.NET Core in Action, Second Edition.
Razor Pages are responsible for generating the HTML that makes up the pages of a typical ASP.NET Core web app. They’re also typically where you find most of the business logic of your app, by calling out to various services in response to the data contained in the original request. Not every app needs an MVC or Razor Pages block, but it’s typically how you’ll build most apps that display HTML to a user.
The view can use the data passed to it by the controller to generate the appropriate HTML response. The view is only responsible for generating the final representation of the data, it’s not involved in any of the business logic.

This is an excerpt from Manning's book ASP.NET Core in Action.
After the middleware pipeline comes the MVC block. This is responsible for generating the HTML that makes up the pages of a typical ASP.NET Core web app. It’s also typically where you find most of the business logic of your app, by calling out to various services in response to the data contained in the original request. Not every app needs an MVC block, but it’s typically how you’ll build most apps that display HTML to a user.
It’s also worth bearing in mind that action methods should generally not be performing business logic directly. Instead, they should call appropriate services in the application model to handle requests. If an action method receives a request to add a product to a user’s cart, it shouldn’t directly manipulate the database or recalculate cart totals, for example. Instead, it should make a call to another class to handle the details. This approach of separating concerns ensures your code stays testable and manageable as it grows.
MVC allows for a separation of concerns between the business logic of your application, the data that’s passed around, and the display of data in a response.