ASP.NET MVC Job Interview Questions
-
How do you define routes in MVC application?
ASP.NET MVC Junior -
Could you compare ASP vs ASP.NET?
.NET ASP.NET MVC ASP.NET WebAPI ASP.NET WebForms Senior -
We have a form with 5 textboxes in our ASP.NET MVC application. Could you describe me what would you do if I asked you to add a drop down list with states to the form?
ASP.NET MVC Junior -
What does MVC stand for?
ASP.NET MVC Junior -
Could you tell me what happens when you submit the form? Describe the technical perspective - data flows and so on.
HTTP protocol Mid-level -
What are the advantages of MVC?
ASP.NET MVC Junior -
What are HTML helpers in MVC?
ASP.NET MVC Junior -
What is the difference between "HTML.TextBox" vs "HTML.TextBoxFor"?
ASP.NET MVC Junior -
What is routing in MVC?
ASP.NET MVC Junior -
Where is the route mapping code written?
ASP.NET MVC Junior -
Can we map multiple URL’s to the same action?
.NET ASP.NET MVC ASP.NET WebAPI Mid-level -
Explain attribute based routing in MVC.
.NET ASP.NET MVC ASP.NET WebAPI Mid-level -
What is the advantage of defining route structures in the code?
.NET ASP.NET MVC ASP.NET WebForms Mid-level -
How can we navigate from one view to another using a hyperlink?
.NET ASP.NET MVC Junior -
How can we restrict MVC actions to be invoked only by GET or POST?
.NET ASP.NET MVC ASP.NET WebAPI Mid-level -
How can we maintain sessions in MVC?
.NET ASP.NET MVC ASP.NET WebAPI Not defined -
What is the difference between TempData, ViewData, and ViewBag?
.NET ASP.NET MVC Junior -
What is difference between TempData and ViewData?
Not defined -
Does TempData preserve data in the next request?
.NET ASP.NET MVC Junior -
What is the use of Keep and Peek in TempData?
.NET ASP.NET MVC Mid-level -
What are partial views in MVC?
ASP.NET MVC C# Junior -
How did you create a partial view and consume it?
Not defined -
How can we do validations in MVC?
Not defined -
Can we display all errors in one go?
Not defined -
How can we enable data annotation validation on client side?
Not defined -
What is Razor in MVC?
Not defined -
Why Razor when we already have ASPX?
Not defined -
Which is a better fit, Razor or ASPX?
Not defined -
How can you do authentication and authorization in MVC?
ASP.NET MVC Mid-level -
How to implement Windows authentication for MVC?
Not defined -
How do you implement Forms authentication in MVC?
Not defined -
How do you implement Forms authentication in MVC?
Not defined -
What is the difference between ActionResult and ViewResult?
Not defined -
What are the different types of results in MVC?
Not defined -
If we have multiple filters, what’s the sequence for execution?
Not defined -
Can we create our custom view engine using MVC?
Not defined -
How to send result back in JSON format in MVC?
Not defined -
What is WebAPI?
Not defined -
But WCF SOAP also does the same thing, so how does WebAPI differ?
Not defined -
With WCF you can implement REST, so why WebAPI?
.NET Architecture ASP.NET WebAPI HTTP protocol Web services Mid-level -
How can we detect that an MVC controller is called by POST or GET?
.NET ASP.NET MVC ASP.NET WebAPI Junior -
What is bundling and minification in MVC?
Not defined -
How does bundling increase performance?
Not defined -
How do we implement bundling in MVC?
Not defined -
How can you test bundling in debug mode?
Not defined -
How do yoyu implement minification in ASP.NET MVC application?
ASP.NET MVC Senior -
Explain Areas in MVC?
Not defined -
Explain the concept of View Model in MVC?
ASP.NET MVC C# Mid-level -
What kind of logic view model class will have?
Not defined -
Explain MVC model binders?
.NET ASP.NET MVC ASP.NET WebAPI C# Junior -
Explain the concept of MVC Scaffolding?
Not defined -
What does scaffolding use internally to connect to database?
Not defined -
How can we do exception handling in MVC?
.NET ASP.NET MVC ASP.NET WebAPI C# Mid-level -
How can you handle multiple Submit buttons pointing to multiple actions in a single MVC view?
Not defined -
What is CSRF attack and how can we prevent the same in MVC?
Not defined -
What is Separation of Concerns in ASP.NET MVC?
.NET ASP.NET MVC ASP.NET WebAPI C# Mid-level -
What is the difference between Partial and RenderPartial.
Not defined -
How to return an XML Result from Controller.
Not defined -
How to implement Security in Web Api using OWIN?
Not defined -
What is Dependency Injection in MVC?
.NET ASP.NET MVC ASP.NET WebAPI C# Mid-level -
What is Attribute based routing in MVC and how to implement the same.
.NET ASP.NET MVC ASP.NET WebAPI Not defined -
How to call an action method when it is defined in another assembly?
Not defined -
What are the ways to pass data from view to controller in MVC?
.NET ASP.NET MVC C# Junior
Are you wondering what questions will you get asked on your job interview?
Do you have a Job Ad URL address?
Then we will predict the questions for you...
-
Share the question, get the right answerSubmit the question you have been asked by a recruiter. We will give you the right answer.
Recently added questions
- Do you use your Entity Framework models in API controllers?
- What are POCO classes in Entity Framework?
- Why would you recommend a company to use Entity Framework?
- What Entity Framework versions did you use?
- What is a server evaluation and client evaluation in Entity Framework and why should you know about it?
- Using Entity Framework, how do you check if a row exists in a database?
- How do you handle SQL injection attacks in Entity Framework?
- When are queries executed when you use Entity Framework?
- Which types of loading do you know and which type of loading is good in which scenario in Entity Framework?
- Using Entity Framework, when will you prefer to use Code First and when Database First approach? Why?
- What is a difference between Database First and Code First approach in Entity Framework?
- What is the use of .AsNoTracking() method?
- What is Code First approach in Entity Framework?
- Using Entity Framework, how can you disable an object property from being mapped to a database entity column?
- What happens when you insert multiple rows using Entity Framework?
- How do you insert multiple rows in Entity Framework?
- Can you list a few methods of DbContext object in Entity Framework?
- What are advantages of Entity Framework over ADO.NET?
- What is a difference between dbContext.Orders.First() and dbContext.Orders.Single() in Entity Framework?
- How do you make Entity Framework to return only specific columns from the database instead of all table columns?
Comments
There are no comments yet.
Be the first one who opens the discussion. The world needs people who are able to speak up.