MVC Interview Questions in Infosys and TCS

Below are the list of technical questions of MVC which are been asked in Infosys and TCS companies and these questions are useful for any interviews, these will cover almost all the MVC questions. All the best.

1) Advantages of MVC over ASP.NET ?

2) What is Routing in MVC ?

3) Explain Razor View Engine?

4) What are Controllers and Actions in MVC ?

5) Why to use ViewModels in MVC ?

6) What is Attribute Routing in MVC ?

7) Why to use Bundle.config ?

8) Difference between ViewData and ViewBag ?

9) Why to use TempData ?

10) What are Sections in MVC ?

11) Why to use _ViewStart page ?

12) Why to use DataAnnotations in MVC ?

13) Difference between Html.RenderPartial and Html.Partial ?

14) What are Action Filters in MVC ?

15) Why to create Area in MVC ?

16) What are Child Actions in MVC ?

17) How to handle multiple submit buttons in MVC?

18) How we can use Jquery validation plugins in MVC ?

19) How we can handle validations in Client side and Server Side in MVC ?

20) What is the use of ModelState in MVC ?

21) Explain Page life cycle of ASP.NET MVC ?

22) What is Separation Concerns in MVC ?

23) What is UnObstrusive Javascript mean ?

24) How to enable Attribute routing ?

25) What is Dependency Resolution ?


Author: Sridhar Thota22 May 2015 Member Level: Gold   Points : 3

2) What is Routing in MVC ?
A)Routing is a process of mapping user typed Url to the controller method.
Ex: http://1045/Controller/Action/Id

Default route having the below default values.
Default Controller is Home Controller.
Default Action is Index.
Default Id is Empty String.

9) Why to use TempData ?
A)It is used to transfer data from one controller to another controller.


DNS Member.
"Hope for the best..Prepare for the worst.."

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: