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

Explain CORBA architecture briefly.

Explain the architecture of data mining system with block diagram./Describe the Data Mining Architecture with figure.

Describe management functions and explain how each of them is interrelated./ Four key functions (planning, organizing, directing and controlling) make up the process of management. It is possible that the controlling function can affect the organizing function and organizing function can affect the leading functions? Explain.