Introduction: In this post, I will let you know aboutÂ Top 15 ASP.NET MVC interview questions and answers for freshers and experience. These questions are commonly asked in the interview at various stages.
Details: before starting this question and Answers series,I would like to share you some useful link which may help you in various level of interview.
- Top 25 SEO Interview Questions and Answers
- C# asp.net competency based interview questions
- Wipro Interview Question for Experience
- ASP.NET Interview Question And Answers
- .NET Framework Interview Questions
- Opps Interview Question And Answers
Now Let’s Start our Today topic “Top 15 ASP.NET MVC interview questions and answers for freshers and experience”
1- What is ASP.NET MVC?
ASP.NET MVC is a Microsoft developed web development framework based on Model View Controller. ASP.NET is basically architectural software pattern which is created by Microsoft. Itâ€™s basically decoupling various components, Pattern of web Application. Using this we can modify themes and customization without any change in functionality.
2- Is MVC is Technology or Pattern?
MVC is Patterns, which work on behalf of Model View and Controller.
3- What do u understand about (MVC) Model-View-Controller?
Model View Controller is the core part of ASP.NET MVC. Entire application in Segregated in these three parts
â€¢ Model: Model is the lowest level of the MVC pattern which is responsible for maintaining data. This plays an important role design and maintaining UI and data both.
Â Â Â â€¢View:Â Â View is basically UI part which use to create the User interface to interact with the application.
Â Â â€¢Controller: Process incoming requests, handle user input and interactions, and execute appropriate application logic. A controller class typically calls a separate view component to generate the HTML markup for the request.
4-What are differences of ASP.NET MVC and ASP.NET Web forms?
ASP.net MVC main advantages are:
â€¢ Enables Test Driven Development (TDD).
â€¢ Â Following the design of stateless nature of the web.
â€¢ Â Enables the full control over the rendered HTML
â€¢ Â Provides clean separation of concerns (SoC).
â€¢ Â RESTful URLs that enables SEO
â€¢ Â No View State and PostBack events
ASP.net Web Form Advantages Â are:
â€¢It provides RAD development
â€¢Easy development model for developers those coming from win from development
Â 5- Â Explain MVC (Model-View-Controller) in general?
As explained in Question No.3
6- What are the Core features of ASP.NET MVC?
Here is some core feature of asp.net MVC
â€¢Â Â Â Â Â Â Â Â Routing in MVC
â€¢Â Â Â Â Â Â Â Â Attribute based Routing
â€¢Â Â Â Â Â Â Â Â Filter in MVC
â€¢Â Â Â Â Â Â Â Â Filter Overrides in MVC
â€¢Â Â Â Â Â Â Â Â Generate Coding using Scaffolding
7- What is Routing In ASP.NET MVC?
Routing is one such MVC feature which decouples the URL schema of the application from the rest of the application. It’s work on basis of route collection and RoutTableCollections
8-Â Â Â Â Â Â Â Â What are the ViewData, TempData, ViewBag
9-Â Â Â Â Â Â Â Â What is the Action Method in ASP.NET MVC
10-Â Â Â Â Â Â Â Â What are the Action Filter in ASP.NET MVC
11-Â Â Â Â Â Â Â Â Can You explain the roles in ASP.NET MVC
12-Â Â Â Â Â Â Â Â What are the Request flow of ASP.NET MVC workflow
13-Â Â Â Â Â Â Â Â How can you create custom attribute?
14-Â Â Â Â Â Â Â Â What is the current version of ASP.NET MVC
15-Â Â Â Â Â Â Â Â What are Difference Â Default MVC Routing and Attribute based Routing in MVC
Feedback: Here some question needs your answers. Are you able to solve? If yes Quick revert back Thanks
Latest posts by Anand Kumar (see all)
- Airtel Unlimited Calling plan 18 GB 4G/3G Data - November 23, 2016
- Multiple Forms tag in Same Page view [ASP.NET MVC] - November 14, 2016
- Earn money Online without investment - November 12, 2016