You must Sign In to post a response.
Category: .NET
#769263
Model View Controller is an architectural pattern and is not limited to JAVA or dotnet.
If you want to know about Asp.Net MVC then the terms are as follows:
Model: represents the data in your application.Could be Data Models ( corresponding to DataBase tables) or View Model (corresponding to the UI entities). This is usually a class file (.cs).
View: This is the UI layer and gets displayed to the user. Asp.net MVC supports two types of View engines : ASPX and RAZOR. So your view could either be a *.aspx file or a *.cshtml file.
Controller: This is the brain of the MVC application that responds to url/action requests , binds them with the proper model and eventually redirects/calls the proper view.
Hope it helps.
Thanks
Tarun
If you want to know about Asp.Net MVC then the terms are as follows:
Model: represents the data in your application.Could be Data Models ( corresponding to DataBase tables) or View Model (corresponding to the UI entities). This is usually a class file (.cs).
View: This is the UI layer and gets displayed to the user. Asp.net MVC supports two types of View engines : ASPX and RAZOR. So your view could either be a *.aspx file or a *.cshtml file.
Controller: This is the brain of the MVC application that responds to url/action requests , binds them with the proper model and eventually redirects/calls the proper view.
Hope it helps.
Thanks
Tarun
Return to Return to Discussion Forum