In this article we will study
about the basics of asp.net mvc.
So let’s get start.
Working:-
Request is sent to controller and controller asks Model for
checkout request, then model checks and respond back to controller and
controller response back to the view as shown In Pic,
Practical Life
Example:-
Suppose you are in restaurant for dinner.
Let:-
- You are View
- Waiter is Url.
- Manager is controller
- Kitchen is Model
Practical Life Working:-
You (View) will order food through waiter(URL), Waiter will
go to Manager(Controller) and controller will ask persons in Kitchen(Model).
Persons in kitchen will respond back to manager and manager will respond back to View (You) through url ( specially in web-api)
Persons in kitchen will respond back to manager and manager will respond back to View (You) through url ( specially in web-api)
Below Picture will make your idea clear.
For more detail please watch my YouTube video. For Code contact me through comments.









No comments:
Post a Comment