Today, we see What is mean by MVC [Model View Control]
Model:
- Model is basically a C# or VB.Net Class.
- Model is accessible by Both Controller and View.
- Model can be used to pass data from Controller to View.
- View can use model to display data in Page.
- View is an ASPX Page without having a Code Behide file.
- All Pate specific HTML generation and formatting can be done inside view.
- One can use inline Code(Server tags) to develop dynamic pages.
- Controller is a basically a C# or VB.net class which inherits System.MVC.Controller.
- controller is a Heart of Entire MVC Architecture.
- Inside Controller's Class action methods can be implemented which are responsible to responding to browser or calling views.
- Controller can access and use model class to pass data to views
- Controller uses ViewData to pass any data to view.
No comments:
Post a Comment