Skip to main content

Posts

Showing posts from 2016

ASP.NET MVC Questions and Answers

Model View Controller (MVC) ·  Model ·  View ·  Controller Model(Business Layer): It is a business entity for representing the application data.  Assembly used to define MVC framework Advantages ·  Provides a clean separation of UI, Model and Controller. Clear separation of application concerns (Presentation and Business Logic). It reduces complexity that makes it ideal for large scale applications where multiple teams are working. ·  Easy to Unit test. ·  Re-usability of Model and View. We can have multiple models can point to same view and vice versa. ·  Improved code structure. ·  Separation of Concerns (Process of breaking programs into various units)    ·  Filters:  The ASP.NET Web API uses most of built-in filters from MVC ·  Model Binding & Validation: ASP.NET Web API uses same model binding functionality, but HTTP specific context related operations only. ·  Routing changes: ASP.NET Web API uses same convention for config mapping that ASP.NET