What is ASP.NET MVC?
Answer / harshada patil
Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces. It divides a given software application into three interconnected parts, so as to separate internal representation of information from the way that information is presented to or accepted from the user.
MVC is a framework for building web applications using an MVC (Model View Controller) design:
The Model represents the application core (for instance a list of database records).
The View displays the data (the database records).
The Controller handles the input (to the database records).
The MVC model defines web applications with 3 logic layers,
The business layer (Model logic)
The display layer (View logic)
The input control (Controller logic)
The Model is the part of the application that handles the logic for the application data.
Often model objects retrieve data (and store data) from a database.
The View is the part of the application that handles the display of the data.
Most often the views are created from the model data.
The Controller is the part of the application that handles user interaction.
advantages of MVC?
Multiple view support
Due to the separation of the model from the view, the user interface can display multiple views of the same data at the same time.
Change Accommodation
User interfaces tend to change more frequently than business rules (different colors, fonts, screen layouts, and levels of support for new devices such as cell phones or PDAs) because the model does not depend on the views, adding new types of views to the system generally does not affect the model. As a result, the scope of change is confined to the view.
SoC – Separation of Concerns
Separation of Concerns is one of the core advantages of ASP.NET MVC. The MVC framework provides a clean separation of the UI, Business Logic, Model or Data.
More Control
The ASP.NET MVC framework provides more control over HTML, JavaScript, and CSS than the traditional Web Forms.
Testability
ASP.NET MVC framework provides better testability of the Web Application and good support for test driven development too.
Lightweight
ASP.NET MVC framework doesn’t use View State and thus reduces the bandwidth of the requests to an extent.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can we add constraints to the route? If yes, explain how we can do it?
What you mean by routing in asp.net mvc?
IS MS.Net platform independent or dependent?
19 Answers Infosys, Ksb, Satyam,
What is layout in mvc?
What are the benefits of .net framework?
What is html.renderpartial?
im software developer (.net). i goth1b (usa )appointment 30th of this month . chennai people asking responsbilities .can anyone wht responsbilities i need say . plz help me
what is the diff b/w asp.net 2.0 & 3.5
What does CLR do as soon as an assembly is created ?
Hello guyz, I have interview scheduled next week on .Net Framework 1.1? Can any one please provide a) list of interview questions on .net frame work 1.1? b)basic differences between .net framework 1.1 and 2.0 and 3.5 c)the topics that i need to concentrate while preparing Thanks in advance
Why to use '{resource}.axd/{*pathInfo}' in routing in ASP.Net MVC?
What is viewbag?