ASP.NET MVC Developer

ASP.NET MVC Developer Interview Questions and Answers

Updated 11 Jul 2025

Asked in Capgemini

1d ago

Q. How to pass data from controller to view? What is difference between viewbag, viewdata, tempdata. What is stored procedure? What is view? What is #tmp_table, ##tmp_table? What is routing?

Ans.

Explaining data passing, storage, and routing in Asp.Net Mvc.

  • Data can be passed from controller to view using ViewBag, ViewData, or TempData.

  • ViewBag is a dynamic property that allows passing data as key-value pairs.

  • ViewData is a dictionary object that stores data as key-value pairs.

  • TempData is a dictionary object that stores data for a single request and is cleared after that.

  • Stored procedure is a precompiled SQL code that can be executed multiple times.

  • View is a user interfa...read more

Asked in JM Infotech

2d ago

Q. What is a controller in MVC?

Ans.

Controller is a component in ASP.NET MVC that handles user requests, interacts with models, and returns appropriate views.

  • Controller is responsible for receiving and processing user requests.

  • It interacts with models to retrieve or update data.

  • Controller determines which view to render and returns it to the user.

  • It contains action methods that handle specific user actions.

  • Controller can also perform validation and authentication tasks.

ASP.NET MVC Developer Interview Questions and Answers for Freshers

illustration image
6d ago

Q. What is a subquery?

Ans.

A subquery is a query nested inside another query, used to retrieve data from multiple tables or filter data based on a condition.

  • A subquery is enclosed within parentheses and placed inside the WHERE or HAVING clause of the outer query.

  • It is executed first and the result is used by the outer query.

  • Subqueries can be used to perform calculations, filter data, or retrieve specific information from related tables.

  • Example: SELECT * FROM Customers WHERE CustomerID IN (SELECT Custom...read more

Asked in JM Infotech

2d ago

Q. What is a SELECT query?

Ans.

A select query is used to retrieve data from a database table.

  • Select query is a SQL statement used to fetch data from one or more tables.

  • It specifies the columns to be retrieved and the table(s) from which to retrieve the data.

  • The result of a select query is a result set that can be used for further processing or display.

  • Example: SELECT * FROM Customers;

  • Example: SELECT FirstName, LastName FROM Employees WHERE Age > 30;

ASP.NET MVC Developer Jobs

Zentech Info Solutions logo
Opportunity For ASP.NET MVC Developer Permanent Role -Goa(Immediate) 3-4 years
Zentech Info Solutions
3.3
South Goa
SpadeWorx Software Services logo
Jr. Asp Net MVC Developer 1-4 years
SpadeWorx Software Services
4.2
Pune
XLIT Solutions logo
Senior ASP . Net MVC Developer 3-8 years
XLIT Solutions
4.4
Mumbai
Are these interview questions helpful?

Interview Experiences of Popular Companies

Cognizant Logo
3.7
 • 5.9k Interviews
Capgemini Logo
3.7
 • 5.1k Interviews
HCLTech Logo
3.5
 • 4.1k Interviews
VSM Software Logo
3.9
 • 2 Interviews
View all
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
ASP.NET MVC Developer Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits