Sunday, June 22, 2025

interview questions for .NET Core Full Stack Developer Posistion.

 interview questions for .NET Core Full Stack Developer Posistion.


1. What is Async programming and why is it used?

2. What is the difference between IEnumerable and IQueryable?

3. What is Serialization and why is it used in C#?

4. Explain middleware and how can we create custom middleware in .NET Core?

5. What is the difference between throw and throw ex?

6. What is an extension method in C#?

7. What design patterns are you using in your current project?

8. I have the following API function, what error will it throw?

[HttpGet]
[HttpPut]
public void GetAllUsers() {}

9. What is the difference between PUT and POST?

---------------Angular Questions ----------------

1. What is the use of ngOnInit()?

2. Explain FormBuilder and FormGroup in Angular.

3. How can you show/hide a column in a grid layout based on employee role (admin, manager, candidate)?

4. What are the directives in Angular and how do we use them?

5. Explain pipes in Angular.

--------------------Database Questions:--------------

1. What is the use of temp tables and table variables?

2. If both foreign key and unique key columns are NOT NULL, which is better to use for uniqueness?

3. Write a SQL query to select all users created in the last year and order them by creation date.


🔔 Join me to improve your skills to clean code.

👩‍💻 Please share and repost and help others to code better and clean code.
Follow me

Interview Question

 1. What is the difference between .NET Framework and .NET Core?

2. What is Dependency Injection in .NET Core?
3. Explain the concept of Middleware in ASP.NET Core.
4. What is the difference between AddScoped, AddSingleton, and AddTransient?
5. What is the role of Program.cs and Startup.cs in .NET 6/7?
6. How do you handle configuration and logging in .NET Core?

---

### ✅ **ASP.NET MVC**

7. Explain MVC architecture with a real-time project example.
8. Difference between TempData, ViewData, and ViewBag.
9. What are different types of Filters in MVC?
10. How does routing work in MVC? Explain attribute routing.

---

### ✅ **SQL Server**

11. Write a SQL query to find the second highest salary.
12. Difference between Clustered and Non-Clustered Index.
13. What is a CTE (Common Table Expression) and its use case?
14. How to delete duplicate records from a table but keep one?
15. Difference between DELETE, TRUNCATE, and DROP in SQL Server.

---

### ✅ **Angular**

16. Difference between Observable and Promise in Angular.
17. Template-driven vs Reactive Forms in Angular.
18. What is an HTTP Interceptor in Angular?
19. What is Change Detection and how does it work in Angular?
20. How do you call and bind REST API data in Angular component?

---