ASP.net MVC Architecture Overview
ASP.net MVC is a web application framework that implementing based on MVC pattern. i.e. ‘Model view controls’ àBased on ASP.net this will allow the web developer to develop the web application in their composition.
- Model
- View
- Controller
ASP.net MVC framework was developed by scat Guthrie (Chf. Architect Microsoft).
The 1st version released was Dec-2007.
ASP.net MVC framework is an alternative to ASP.net web forms, not a replacement.
A complete clan library related to MVC is available in “system web.MVC” name space
MVC is a standard design pattern, inserted and provide by the software industry.
Components of ASP.net MVC:
Model:-
Model is going to complete deal with D/b i.e. getting the data from D/B and updating the data to D/B etc.
Inclined to build a profession as ASP.net Developer? Then here is the blog post on, explore ASP.net Training
View:-
Views are the components that will display the user interface (UI) elements.
In general, this UI element is created from data of the model
Controllers:-
Controls are the components and that handles user interaction of the view and will work with the model.
In general most of the features of ASP.net are supported by ASP.net MVC.
Master page, user controls, data bindings ASP file authentication, authorization, session, etc.
ASP.net MVC supports much more reciting mechanism SEO (search engine optimization) etc.
ASP.net MVC application is ‘TDD’ “Test Driven Development” which provides unit testing easily.
ASP.net MVC does not support view state, post back natures, etc.
In the MVC frame that 3 components can be isolated and worked independently.
For in-depth understanding click on
- ASP. NET web applications and ASP. NET MVC Application.
- Object initialization
- Razor syntax
- Collection Initialize ASP.net
- View engine & Razor view engine