BhavishyaVenna / DotNetTopics

1 stars 0 forks source link

MVC vs WEB API #4

Open BhavishyaVenna opened 3 months ago

BhavishyaVenna commented 3 months ago

MVC is an architectural Design Pattern, used for organizing an application logic into different layers for ease. Basically it comprises of 3 parts such as Model - View - Controller. Let's see each of what it does in detail:

                                       User/ Client ---> Sends Request ---> Controller

Controller: In this MVC architecture,Whenever a User searches/ sends a request to Server, the Server sends that request to the Controller.

Model: Model is responsible for handling all the data logic of a request.

View:

Points to Remember:

Image