Senior .Net Developer Interview questions
I have listed down some of the common .Net interview questions for Senior developer positions which will be helpful for someone who wants to brush up quickly before interviews. The topics that are covered are below,
C#, OOPS, LINQ, ENTITY FRAMEWORK, SQL, .NET, DESIGN PATTERNS, ASP.NET, ASP.NET MVC, WCF, WEB API, REST, .NET CORE, JAVASCRIPT, JQUERY, ADO.NET, ANGULAR, ANGULAR JS, MONGO DB
- Explain SOLID Design principles in C#?
- Explain the 12-factor app methodology?
- Could you explain OWASP top 10 security risks and vulnerabilities?
- What are extension methods and how to define it?
- What is Dependency Injection(DI) and tools used for DI?
- Explain CLR in .Net and its functions?
- What is a .Net Web Service?
- What are generics and generic collections in C# and why we use it? What data types are applicable or can be passed in generics?
- What are dynamic types in C#? Please describe the use case?
- What is a strong-named assembly in .NET and what is the purpose of it?
- What is GAC in .NET?
- What is side by side execution in .NET?
- Difference between Clustered and Non clustered index in SQL?
- Difference between Primary Key and Unique Key in SQL?
- Different types of indexes in SQL?
- Difference between merge JOIN and UNION in SQL?
- What are the different SET operations in SQL?
- What are the different RANK operations in SQL?
- Explain difference JOINS in SQL?
- What is Dynamic SQL technique in SQL?
- Difference between stored procedures and functions in SQL?
- What are the advantages of using Stored Procedures in SQL?
- Different techniques to store temporary data? When to use CTE vs Temp tables?
- XML commands in SQL?
- Difference between UNION and UNION ALL?
- What is the namespace to connect to SQL server database from .NET applications?
- How to improve SQL server performance?
- What are synonyms in SQL?
- What is the purpose of triggers in SQL?
- What is normalization and denormalization in SQL?
- What is a query plan in SQL?
- What is ISOLATION LEVEL in SQL and the different types?
- What is data integrity and ACID compliance in SQL?
- What are constraints in SQL and types?
- How data is stored in SQL server? After an INSERT statement, how data gets stored?
- What are different types of pages in SQL? What are Data pages?
- Difference between HAVING clause and GROUP BY statement?
- Difference between INTERSECT and EXCEPT SQL commands?
- Explain the use of OFFSET and FETCH commands in SQL?
- What are views in SQL and its benefits?
- How does MSIL(Intermediate language) fit into the whole .NET framework architecture?
- What do you mean by polymorphism, inheritance and encapsulation?
- What is OOP and how does it relate to .NET Framework?
- What is the await keyword? Describe a use case and the needed code modifications in order to use it?
- How can lazy initialization be accomplished in .NET?
- Explain virtual keyword in C#?
- What is Yield keyword used for in C#?
- Why would you declare a field volatile?
- What is Entity Framework and what are the benefits of using it?
- What is Reflection in .NET? Please describe a use case and the benefits of using it?
- What do we mean when we say that a certain lambda expression forms a closure?
- How are anonymous classes instantiated in .NET? Can they be passed as function params?
- What is an anonymous method and how its different from lambda expression?
- In LINQ, what is the difference between IQueryable and IEnumerable interface?
- What are the benefits of using the Aggregate method in LINQ?
- Is it possible in .NET to extend a class with some extra methods? How?
- Name a few Design patterns you know and have used?
- Explain Singleton design patterns and different techniques to implement it?
- Explain the Command Design pattern and when will you use it?
- What is the difference between an abstract class and an interface? Can abstract classes have a constructor?
- How do you achieve multiple inheritance in C#?
- Can an interface have concrete methods?
- Explain when to use interface and when to use an abstract class?
- What is the difference between a class and an object?
- What is a delegate in .NET?
- Explain the difference between a stack and a queue?
- When should you use .NET web forms overs ASP.NET MVC? Differences?
- Difference between managed and unmanaged code?
- Difference between read-only and constants in C#?
- What will happen if the constructor is explicitly made private?
- What is boxing and unboxing in .NET?
- What is a .NET framework and how does it work?
- Is the JIT an interpreter?
- What are a heap and a stack?
- Explain memory management in .NET?
- What is Garbage collector?
- What is deferred and immediate execution in LINQ?
- Difference between public and static modifiers?
- What is a sealed class?
- What are the jagged array and use case?
- What is serialization (ISerializable)?
- Explain Mutex?
- Difference between Override and Overload in a method?
- Difference between struct and class?
- When do we use the 'using' statement?
- Explain ASP.NET MVC request pipeline flow?
- What are the different action results in ASP.NET MVC?
- What are the different filters in ASP.NET MVC?
- Explain the different config files in ASP.NET MVC?
- How do you pass data from the controller to view?
- Difference between viewBag and viewData and Tempdata?
- How to transfer data between MVC action methods?
- Explain the difference between WCF and ASP.NET Web API?
- What are the different types of contracts in WCF?
- What are the different types of binding in WCF?
- Explain different authentication modes in WCF?
- Explain Service Versioning in WCF? What to do when contract implementation changes? (refer to Microsoft documentation)
- Explain State management techniques in ASP.NET(client and server-side)?
- Difference between Application state and View state?
- How to analyze and improve slow websites?
- What collection will you use to store key-value pair in C#?
- Difference between Server.transfer and Response.redirect?
- Difference between '==' and '===' in JS?
- What does 'use strict' mean in JS?
- What is a bind() function in JS?
- Explain what is a callback function in JS and provide a simple example?
- What are Javascript Closures in JS?
- How to check if a number is an integer in JS?
- What are the different scope variables in JS?
- Difference between document.ready and window.load in jQuery?
- Difference between compiled and Interpreted language in .NET?
- What is AJAX in jQuery?
- Can we use AJAX without jQUERY language?
- Explain a scenario where we would use only vanilla JS instead of client-side Frameworks?
- Name the different Data Structures(generic and non-generic) in C#?
- Differences between Angular JS and Angular?
- Difference between jQuery vs Angular JS?
- Difference between Javascript and jQuery?
- Difference between Javascript and Typescript?q
- Difference between .NET Core and ASP.NET MVC?
- Difference between Parse and TryParse in C#?
- Different access modifiers in C#? What does protected internal mean?
- What are ref and out keywords in C#?
- What is a Tuple in C# and how to define and use it?
- Difference between IComparable and IEnumerable and IEnumerator and IQueryable?
- What is enum used for and how to access the values in C#?
- Can you list few exception types in C#?
- Can we have multiple catch statements in C#?
- What is a nullable bool/int in C#?
- Explain covariance and contravariance in delegates, C#?
- What is the difference between Func and Action delegates in C#?
- Can we have multiple WHERE clause in LINQ?
- Explain async/await keywords in C#?
- What are Unary Operators in C#?
- What is string interpolation in C# and how to achieve this?
- Difference between Hashtable and Dictionary collection in C#?
- What is HashTable and HashSet in C#?
- Difference between HashSet<T> and List<T>?
- What are indexers in C#?
- Difference between Dispose and Finalize method in C#?
- Difference between cookies and cache in ASP.NET?
- What is bundling and minification in ASP.NET MVC?
- What are Unobtrusive validations in jQuery?
- What are HTML helpers in ASP.NET MVC?
- Difference between REST and SOAP WEB API services?
- Difference between monolithic and microservices architecture?
- Explain the MVVM pattern?
- Different HTTP Verbs and difference between GET and POST verbs?
- Different HTTP Codes?
- Explain ASP.NET page life cycle?
- Explain the different types of Entity Framework approaches?
- Explain Visual Studio code coverage metrics?
- When would you use WCF over REST?
- What would you do when you have a disagreement with a co-worker?
- What makes a good unit test?
- What do you look for in a code review?
- Difference between C# and Javascript?
- Explain Association, Aggregation and Composition?
- What is the reason for changing your current job?
- Explain MVM, MVP, MVVM design patterns?
- What is an agile methodology?
- How do you keep up to date with the ever-changing technologies?
- Explain an instance where you went above and beyond to perform a task?
- Explain a challenging situation at work and how did you handle it?
- What is your role as Senior Dev?
Comments
Post a Comment