1

I currently have a web application that is based upon a 3 Tier architecture. I wish to change my Presentation layer from using Web Forms to MVC4.

Now I have done some research and from what I read I understood that the View represents the .aspx of a Web Form. The Controller represents the Code Behind (.cs) of a Web Form.

The problem that I have is that I do not see any use for the Model. This is because I can directly call methods from the Business Logic Layer directly from the Controller making the purpose of the Model useless.

Is there something that I am misunderstanding? If so what are you views on implementing an MVC design patter for the presentation layer in a 3 layer architecture?

Adrian Bonnici
  • 283
  • 4
  • 14
  • Please have a look for more details https://www.robustbase.com/2018/09/model-view-controller-design-pattern.html?m=1 – Atul Dwivedi Oct 19 '18 at 09:41

1 Answers1

3

In a simple application the model in MVC can simply be the DTOs from the Application or Business Layer. In this case you're right, you probably don't need a separate model in the UI.

Dennis Traub
  • 50,557
  • 7
  • 93
  • 108