Posts

Showing posts with the label Interview

MVC Interview Questions

What are the 3 main components of an ASP.NET MVC application? 1. M - Model 2. V - View 3. C - Controller In which assembly is the MVC framework defined? System.Web.Mvc Is it possible to combine ASP.NET webforms and ASP.MVC and develop a single web application? Yes, it is possible to combine ASP.NET webforms and ASP.MVC and develop a single web application. What does Model, View and Controller represent in an MVC application? Model: Model represents the application data domain. In short the applications business logic is contained with in the model. View: Views represent the user interface, with which the end users interact. In short the all the user interface logic is contained with in the UI. Controller: Controller is the component that responds to user actions. Based on the user actions, the respective controller, work with the model, and selects a view to render that displays the user interface. The user input logic is contained with in the controller. What is the...