A new developer joins your team and is unfamiliar with the structure of ASP.NET Core projects. They ask you where the core application logic, such as controllers and models, resides. What would be your response?

  • Controllers are in the "Views" folder, and models are in the "Controllers" folder.
  • Controllers are in the "Models" folder, and models are in the "Views" folder.
  • Controllers are in the "Controllers" folder, and models are in the "Models" folder.
  • Controllers and models are both in the root directory.
In ASP.NET Core, the core application logic is typically organized as follows: Controllers are in the "Controllers" folder, and models are in the "Models" folder. This structure helps maintain a clean separation of concerns and follows the convention over configuration (CoC) principle.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *