Share via


.NET: How to prepare for an Interview – Experienced

Introduction

This article will be focused on the interview questions that are being asked for experienced .Net developers. In this article, I will try to cover the frequently asked questions and topics in each category. Here are the topics an experienced programmer should focus on as part of interview preparation.

Frequently Asked Questions in Object Oriented Programming

Since Object Oriented Programming is the basics of .NET. Interviewers mainly starts with this topic.

Below are the possible list of questions of Object Oriented Programming can be asked for Experienced –

  1. What is Abstraction and how do we achieve it in Object Oriented Programming?
  2. What is the difference between Abstraction and Encapsulation?
  3. What is Inheritance?
  4. What is Polymorphism?
  5. What is the difference between Interface and Abstract Classes?
  6. What is access modifiers and list down all the access modifiers?
  7. What is the difference between override and new keywords?
  8. What is the difference between late binding and early binding?
  9. How to achieve multiple inheritance in .NET?
  10. What is Sealed Class and what is the use of it?

Frequently Asked Questions in .NET Framework

These questions are rarely asked for experienced as the interviewer want to know the technical abilities of the candidate and will be asking the questions at the architecture level.

Below are the possible interview questions in .NET Framework category –

  1. List out the components of .NET Framework?
  2. What is Intermediate Language or IL?
  3. What is the difference between Managed Code and Unmanaged Code?
  4. What is Common Language Runtime or CLR?
  5. What is Garbage Collection and Why to use it?
  6. What are the methods used in .NET Framework for garbage collection?
  7. What is CTS and CLS?
  8. What are the differences between Dispose() and Finalize() methods?
  9. What is Global Assembly Cache (GAC)?
  10. Which namespace is root for all fundamental types in .NET Framework?
  11. What are the functions of CLR in .NET Framework?

Frequently Asked Questions in C – Sharp

If the candidate is comfortable with C# language then below of list of questions can be asked or else VB.NET questions can be asked with the same concepts.

Below are the possible interview questions in C# category –

  1. What are the differences between String and StringBuilder in C#?
  2. What are the differences between Array and ArrayList in C#?
  3. What are the differences between “out” and “ref” parameters in C#?
  4. What is Jagged Arrays in C#?
  5. What are Generics in C#?
  6. What are the types of delegates in C#?
  7. What are the differences between delegates and events in C#?
  8. What are the differences between Dictionary and List in C#?
  9. Why to use Threading in C#?
  10. When to use Static Constructor in C#?
  11. What are the differences between boxing and unboxing in C#?
  12. What are the differences between “break” and “continue” statements in C#?

Frequently Asked Questions of ASP.NET

If the candidate is comfortable with web development, then prepare for following ASP.Net interview questions listed below,

Below are the possible interview questions in ASP.NET category –

  1. Explain the application event handlers in ASP.NET
  2. What are the Web Form Events available in ASP.NET?
  3. What are different types of caching using cache object of ASP.NET?
  4. What are Satellite Assemblies?
  5. What is Post Back and how to determine the PostBack in a page?
  6. Explain Session state management options in ASP.NET?
  7. When to use Server.Transfer and Response.Redirect ?
  8. What is the difference between application domain and application pool?
  9. What is the difference between Custom Control and User Control in ASP.NET?
  10. What you mean by Query String? What are its advantages and limitations?
  11. What is master page in ASP.NET?

Frequently Asked Questions of ASP.NET MVC

Few candidates would not have worked on ASP.NET so in that case interviewer will ask MVC questions.

Below are the possible interview questions in ASP.NET MVC category –

  1. What are the advantages of ASP.NET MVC over ASP.NET?
  2. Explain Model, Controller and View in MVC?
  3. What is Separation of Concerns in ASP.NET MVC?
  4. What is Routing in MVC?
  5. What are Action Filters in MVC?
  6. What is the difference between ViewBag and ViewData and TempData in MVC?
  7. When to use Sections is MVC?
  8. What is the difference between RenderBody and RenderPage in MVC?
  9. What is Child Action in MVC?
  10. What are the possible Data Annotations in MVC?
  11. What are the differences between  Html.Partial  and Html.RenderPartial in MVC?

Frequently Asked Questions in SQL

This is optional. All Interviewer will not be asking this as it depends on the designation for which the interview is being taken. 

Below are the possible SQL interview questions –

  1. List out some differences between DELETE and TRUNCATE?
  2. List out the differences between Global and Local temp tables in Sql Server?
  3. What are the differences between temp tables and CTEs in Sql Server?
  4. What are the differences between Left join and Inner join in Sql Server?
  5. List out the differences between Clustered Index and Non Clustered Index in Sql Server?
  6. What does man by SQL Wildcard Characters in Sql Server?
  7. Explain “@@ROWCOUNT” and “@@ERROR” in Sql Server?
  8. What are user defined functions (UDFs) in Sql Server?
  9. List out difference between Union and UnionAll in Sql Server?
  10. Write a query to get the third highest salary of an employee in a company in Sql Server?
  11. Write a query to remove the duplicates in Sql Server?
  12. What is the difference between view and stored procedures in Sql Server?

Frequently Asked Questions in WCF

This is again an optional category. All Interviewer will not be asking this as it depends on the designation for which the interview is being taken. 

Below are the possible interview questions in WCF category –

  1. What are the components of WCF?
  2. What are the difference between classic web services (ASMX) and WCF?
  3. What is Endpoint in WCF?
  4. Explain the types of contracts available in WCF?
  5. Mention the list of bindings supported by WCF?
  6. Explain the ways to host the WCF Service?
  7. What are different instance modes in WCF?
  8. What are the differences between “Per Call” and “Per Session” and “Singleton” instance modes in WCF?
  9. What is Service Proxy in WCF?
  10. What are different modes of communication in WCF?
  11. Explain “Callback” mode in WCF?
  12. Which bindings are used for metadata configuration in WCF?
  13. Explain Known Types in WCF?

Frequently Asked Questions in Jquery

Some candidates would not have worked on Jquery so this again is optional.

Below are the possible interview questions in Jquery category –

  1. Why to use Jquery?
  2. How we can use Jquery in ASP.NET?
  3. What are the differences between “body.onload” and “document.ready” methods?
  4. What is the meaning of Selectors in Jquery?
  5. What are the difference between “Length” and “Size” in Jquery?
  6. How to use AJAX in Jquery?
  7. What is “noConflict” method in Jquery?
  8. What are the differences between “parents” and “parent” methods?
  9. Explain the difference between “live” and “bind” methods in Jquery?
  10. What is the use of “event.Preventdefault” in Jquery?
  11. How to get the selected value of dropdown in Jquery?

Frequently Asked Questions in AngularJS

Below are the possible interview questions in AngularJS category –

  1. What are the uses of AngularJS?
  2. Explain the features of AngularJS?
  3. List out the advantages of AngularJS?
  4. List out the differences between java Script and angular JS expressions?
  5. Explain how we can create module and using it in AngularJS?
  6. Explain directives – “ng-init”, “ng-model” and “ng-app” in AngularJS?
  7. List out the differences between config and run methods in AngularJS?
  8. List out the components which can be used in AngularJS modules?
  9. How to load select box during page initialization using AngularJS?
  10. What is the difference between Rootscope and Scope in AngularJS?
  11. What is promise in Angular JS and Explain how to make Http get request from AngularJS with an example?
  12. How Dependency Injection works in AngularJS?
  13. What are the ways to track the error in AngularJS?

References

  • Book -  “.NET Interview Questions by Shivprasad Koirala” is useful for interviews.
  • ASP.NET MVC Framework Unleashed By Stephen Walther
  • Asp Net Mvc Quickly Design Develop And Test Powerful And Robust Web Applthe Agile
  • C# 4.0 in a Nutshell: The Definitive Reference by Joseph Albahari
  • Learning Angularjs A Guide To Angularjs Development By Ken