TCS Angular + .NET Interview Questions for 5+ years
Shared question set for 5+ years of experience, L1 round. Topics and wording follow the supplied notes; these are questions, not official company guidance.
- What is the difference between .NET 6 and previous versions of .NET?
- How did you implement JWT authentication?
- Would you prefer JWT authentication or server-side session for login?
- How would you implement a refresh token API? From the UI side, what is required to generate a fresh token?
- What is .NET middleware? Have you developed custom middleware?
- Which comes first: authentication or authorization?
- What is the difference between a queue and a stack?
- What do you mean by singleton?
- Why is DbContext scoped? Why is it not singleton?
- Should filtering happen at the database level or in memory?
- What is multithreading?
- How do you find the highest integer in an array?
- Is offset pagination using skip and take the only way to implement pagination?
- What does "starting an app" mean in .NET?
- How did you implement a background service in your project?
- What is lazy loading in Angular?
- How do you call APIs in Angular?
- What are reusable components in Angular?
- Are you aware of Signals in Angular?
- How do we pass the token in headers for all API calls after login?
- Have you used any third-party libraries in Angular?
- Which array methods do you commonly use while working on Angular projects?
- Will you be open to working on React.js too?