Introduction
I recently prepared for a .NET Full Stack Developer Technical Round 1, covering C#, ASP.NET Core, Web API, SQL Server, OOP, Dependency Injection, security, debugging, testing, and practical project scenarios.
These are the exact questions that were asked in my HCL .NET Full Stack Technical Round 1 interview. The questions covered both theoretical concepts and practical situations, along with coding and SQL problems.
HCL .NET Full Stack Technical Round 1 Interview Questions
If two interfaces have methods with the same name, how do you call them?
What is Dependency Injection (DI)?
What is Middleware?
What is the difference between Authentication and Authorization?
How is an object created in the background?
What do you review in a Pull Request (PR)?
What do you mean by Quality Code?
How do you secure a Web API?
What will be the output of the following method overriding code?
If an object is created and then reassigned to another object, what will happen? What will be the value?
What is the difference between DELETE, DROP, and TRUNCATE?
What are out and ref parameters in C#?
What is Unit Testing?
What is Finalize in C#?
What is the difference between Transient, Scoped, and Singleton service lifetimes?
What is the difference between SOAP and REST?
What is the difference between String and StringBuilder? When should you use each?
If the code works locally but not in production, what steps would you take to troubleshoot it?
What is the latest production bug that you solved?
What is the difference between a Clustered Index and a Non-Clustered Index?
What is Garbage Collection? Explain Generations 0, 1, and 2.
What is a Static Constructor?
What are Delegates in C#?
What is your role and responsibility in your current project?
Write a C# program to count the occurrence of each character in a string and print only unique characters (do not repeat characters).
Write a SQL query to find the Nth highest salary of an employee using a Window Function (DENSE_RANK()).
What is the difference between ROW_NUMBER(), RANK(), and DENSE_RANK()? Explain with an example.
What is the difference between IDisposable and Dispose()?
Write a C# program to transpose a given matrix, where rows are converted into columns and columns are converted into rows.
Example
Input:
1 2 3
4 5 6
7 8 9
Summary
Overall, the HCL .NET Full Stack Technical Round 1 focused on C#, ASP.NET Core, Web API, SQL, coding, and real-world project scenarios. The interview was practical, with several follow-up questions based on my answers.
These are the exact questions asked in my interview, and I hope they help others prepare for their HCL .NET Full Stack interview.