Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Interview Questions on ASP.NET MVC

In this blog post, I will share frequently most asked asp.net mvc interview questions for experienced and freshers to get the right job. Find the complete list below:-

  • Keep reading on Top 30 ASP.Net Web API Interview Questions

ASP.NET MVC Interview Questions

Introducing ASP.NET MVC

  • What is MVC?
  • Explain the MVC design pattern?
  • What is the MVP pattern?
  • What is the MVVM pattern?
  • What is ASP.NET MVC?
  • How does MVC pattern work in ASP.NET MVC?
  • How Model, View, and Controller communicate with each other in ASP.NET MVC?
  • What are the advantages of ASP.NET MVC?
  • What is the difference between 3-layer architecture and MVC architecture?
  • What is the difference between ASP.NET WebForm and ASP.NET MVC?
  • What is ViewModel in ASP.NET MVC?
  • Explain the ASP.NET MVC pipeline?

Routing and View Engines

  • What is Routing in ASP.NET MVC?
  • How to define a route in ASP.NET MVC?
  • What is attribute routing and how to define it?
  • When to use Attribute Routing?
  • How to enable Attribute Routing in ASP.NET MVC?
  • How to define Attribute Routing for Area in ASP.NET MVC?
  • What is the difference between Routing and URL Rewriting?
  • What are Route Constraints in ASP.NET MVC?
  • How the route table is created in ASP.NET MVC?
  • What are the important namespaces in ASP.NET MVC?
  • What is View Engine?
  • How does View Engine work?
  • What is a razor view engine?
  • How to make a custom view engine?
  • How to register Custom View Engine in ASP.NET MVC?
  • Can you remove the default View Engine in ASP.NET MVC?
  • What is the difference between Razor and WebForm engine?

Helpers and Views

  • What are HTML Helpers in ASP.NET MVC?
  • What are the different types of HTML Helpers?
  • What are Url Helpers?
  • What is the Validation Summary?
  • What are AJAX Helpers?
  • What is unobtrusive AJAX?
  • What are various configuration options for AJAX Helpers?
  • What is Cross-Domain AJAX?
  • What are Layouts in ASP.NET MVC?
  • What are Sections in ASP.NET MVC?
  • What are RenderBody and RenderPage in ASP.NET MVC?
  • What are Styles.Render and Scripts.Render?
  • How to enable and disable optimizations in ASP.NET MVC?
  • What is ViewStart?
  • When to use _ViewStart?
  • What are the different ways of rendering layout in ASP.NET MVC?
  • What is the App_Start folder in ASP.NET MVC?
  • What are the different ways of returning/rendering a view in ASP.NET MVC?
  • What are the differences between ViewData, ViewBag, TempData, and Session?
  • How to persist data in TempData?
  • How to control Session behavior in ASP.NET MVC?
  • How TempData is related to Session in ASP.NET MVC?
  • What are Action methods in ASP.NET MVC?
  • What is ActionResult and how is it different from others?
  • How to make a Non-Action method in ASP.NET MVC?
  • Can you change the action method name?
  • How to restrict an action method to be invoked only by HTTP GET, POST, PUT or DELETE?
  • How to determine an action method is invoked by HTTP GET or POST?
  • How to determine an AJAX request?

Forms and Validations

  • What are Data Annotations in ASP.NET MVC?
  • How to apply Server-side validation in ASP.NET MVC?
  • How to determine there is no error in Model State?
  • How to enable and disable client-side validation in ASP.NET MVC?
  • What are a CDN and the advantages of CDN?
  • What is jquery.validate.unobtrusive.js?
  • What is Bundling and Minification in ASP.NET MVC?
  • Can we use Bundling and Minification in ASP.NET MVC3 or ASP.NET 4.0?
  • How Bundling uses browser Cache capability?
  • What is Partial View in ASP.NET MVC?
  • How do you return a partial view from the controller?
  • What are the different ways of rendering a Partial View in ASP.NET MVC?
  • What is Area in ASP.NET MVC?
  • How to register Area in ASP.NET MVC?
  • What is Child action and how to invoke it?
  • What is Scaffolding?
  • How do Scaffold templates work in ASP.NET MVC?

Security and Filters

  • What are ASP.NET MVC Filters and Attributes?
  • What are the different types of Filters in ASP.NET MVC?
  • When Exception filters are executed in ASP.NET MVC?
  • What is the order of execution of filters in ASP.NET MVC?
  • How to configure filters in ASP.NET MVC?
  • How do Authentication and Authorization work in ASP.NET MVC?
  • How Forms Authentication and Authorization work in ASP.NET MVC?
  • How to implement custom Forms Authentication and Authorization in MVC?
  • How to allow HTML tags in ASP.NET MVC?
  • What is caching and when to use it?
  • What are the advantages of caching?
  • What is the output caching?
  • What is Donut caching and Donut hole caching in ASP.NET MVC?

Dependency Injection

  • What is loose coupling and how is it possible?
  • What are the Dependency Inversion Principle (DIP) and IoC?
  • What is Dependency Injection (DI)?
  • What is Service Locator?
  • What are different ways to implement Dependency Injection (DI)?
  • What are the advantages of Dependency Injection (DI)?
  • What is IoC or DI container?
  • What are the popular DI containers?
  • What is Test-Driven Development (TDD)?
  • What are the commonly used tool for Unit Testing in ASP.NET MVC?

References: Microsoft Docs – ASP.NET, Stack Overflow – ASP.NET MVC (asp.net mvc 5 interview questions)

Conclusion

I hope you liked this article on the asp.net mvc 5 interview questions. I would like to have feedback from my blog readers. Your valuable feedback, question, or comments about this article are always welcome.

The post Interview Questions on ASP.NET MVC appeared first on DotNetTec.



This post first appeared on Asp Dot Net Tricks And Tips, Dot Net Coding Tips, Google Maps API Developer, please read the originial post: here

Share the post

Interview Questions on ASP.NET MVC

×

Subscribe to Asp Dot Net Tricks And Tips, Dot Net Coding Tips, Google Maps Api Developer

Get updates delivered right to your inbox!

Thank you for your subscription

×