ASP .NET Interview Questions (Part-6)

In this article, we will discuss some important Interview Questions related to MVC. So let's start:

 

Question # 1: What is MVC?

MVC is an Architectural Pattern that divides our Web Application into three main Logical Layers i.e., Model, Views, and Controller.

 

Question # 2: What is the Workflow of MVC?

Whenever a user accesses any page of our Web Application, then firstly request comes to Controller. If we want to show some data on that page from the database, then the controller sends the request to Models for performing the action and then finally sends the data on the View.

Question # 3: What are Validations? And why are they Important?

The checks applied on taking Input from users are called Validations. Validations are important for preventing the user from sending duplicate or wrong data to the server.

 

Question # 4: What are the different types of Validations?

Validations are of two types. One is Client-Side Validation and the other is Server-Side Validation.

In Client Side Validations, the checks are applied on the Frontend of Web Applications while in Server-Side Validation, the checks and conditions are validated on the Backend of Web Application.

 

Question # 5: What is the Use of the Global.asax file?

The System Level Events are handled here. The Events like “performing an action at the start and end of the application and session” and “handling errors and other requests on application-level” are included in System-Level Events.

If you have any questions related to these concepts, you can ask me in the comments.

Here is the video where I explained these Questions in very Easy Words.
Must watch this video (In Urdu):

Posted: 01 Jun 2021

Visit for more

Joined in Nov 2020

I am Programmer, I love writing about technology. You can contact me for any suggestions & feedback about this website. Keep writing & reading awesome articles.


() ()