Short note on Controllers Responsibilities.

 Controllers Responsibilities

  •  Controllers are usually placed in a folder called "Controllers", directly in the root of your MVC project.
  •  They are usually named based on their purpose, with the word "Controller" as a suffix.
  •  The Controller has three major responsibilities

◦ Handle the Request from the User

◦ Build a Model – Controller Action method executes the application logic and builds a model

◦ Send the Response – it returns the Result in HTML/File/JSON/XML or other formats as requested by the user.

Comments

Popular posts from this blog

Short note on Uniform Gradient Cash Flow and PERT

Discuss classification or taxonomy of virtualization at different levels.

Discuss different JavaFX layouts with suitable example.