Top 20 ASP.NET MVC Interview Questions

Posted on Posted in .net, ASP.Net MVC, Interview questions

1.What is ASP.net MVC or Explain the overview of MVC (Model-View-Controller)? MVC (Model-View-Controller) is an software design pattern that decouples various components of a web application. By using MVC pattern, we can develop applications that are more flexible to changes without affecting the other components of our application.  “Model”, is domain data.  “View”, is user […]

Difference between ASP.net web form and ASP.net MVC

Posted on 1 CommentPosted in .net, ASP.net, ASP.Net MVC

ASP.net web form ASP.net MVC Page controller pattern that means an implicit controller (code behind) would process the request Front controller pattern that means an explicit controller would be there to process the request web form has user controls for code reusability Partial views has code reusability view and controllers are not separated view and […]

Authorize attribute in ASP.net MVC and its significance

Posted on Posted in .net, ASP.Net MVC

In this article, we will learn: Authentication using Authorize attribute Authorization using Authorize attribute HTTP 401 or 403 Custom Attributes Examples to understand Authentication and Authorization in MVC Authentication and Authorization are  the most important features in web-based application development nowadays.As developers we always need to ensure at each instance whether we are showing up the […]

Bootstrap overview in ASP.net MVC

Posted on Posted in .net, ASP.Net MVC

In this article, we will learn: What is Bootstrap in MVC5? Features of Bootstrap What is Bootstrap in MVC5? Bootstrap (a front-end framework) is an open source framework that makes use of HTML,CSS,JavaScript for building responsive web applications. Bootstrap provides a base collection including layouts, base CSS, JavaScript widgets, customizable components and plugins. Bootstrap is developed […]

Dependency Injection in ASP.net MVC

Posted on 1 CommentPosted in .net, ASP.Net MVC

In this article, we will learn: What is Dependency Injection? Advantages of Dependency Injection Dependency Inversion Principles Inversion of Control Principles Applying Dependency Injection in ASP.net MVC What is Dependency Injection? Dependency Injection (DI) is a design pattern that takes away the responsibility of creating dependencies from a class thus resulting in a loosely coupled […]

Partial View in ASP.net MVC

Posted on 1 CommentPosted in .net, ASP.Net MVC

In this article, we will learn: What is Partial view in ASP.net MVC Advantages of Partial view Example What is Partial view in ASP.net MVC? Partial View in ASP.NET MVC serves the same purpose as that of a User Control in ASP.NET Web Forms. In order to reuse a View in our MVC application (For example, […]

Action Filters in ASP.net MVC

Posted on 1 CommentPosted in .net, ASP.net, ASP.Net MVC

In this article, we will learn: What is Action Filter? Types of Action Filter Details on Each Type of Action Filter What is Action Filters? Action filters are used when you want to apply some specific logic before or after action methods. You can apply these action filters to a controller or a specific controller action. […]