Technical Dotnet Lead

10+ Technical Dotnet Lead Interview Questions and Answers

Updated 1 Jul 2025
search-icon

Asked in Mphasis

4d ago

Q. How do you implement exception handling and filters in a .NET Core Web API?

Ans.

Exception handling and filters in .NET Core Web API

  • Use try-catch blocks to handle exceptions in the code

  • Implement global exception handling middleware to catch unhandled exceptions

  • Use filters like [Authorize] for authentication and [ValidateAntiForgeryToken] for CSRF protection

  • Create custom exception filters by implementing IExceptionFilter interface

Asked in Mphasis

4d ago

Q. Which Microservice communication pattern have you used?

Ans.

I have used the asynchronous messaging pattern for Microservice communication.

  • Implemented messaging queues like RabbitMQ or Kafka for decoupled communication

  • Used message brokers to enable communication between Microservices

  • Leveraged event-driven architecture for real-time updates and scalability

Asked in Mphasis

3d ago

Q. Which single sign-on technology/mechanism is used in the project?

Ans.

We are using OAuth 2.0 for single sign on in the project.

  • OAuth 2.0 is a widely used authorization framework that enables a third-party application to obtain limited access to an HTTP service.

  • It allows users to log in once and access multiple applications without having to log in again.

  • OAuth 2.0 provides secure delegated access to resources without sharing user credentials.

Asked in Mphasis

3d ago

Q. Which Application Insights tools have you used?

Ans.

I have used Application Insights for monitoring and analyzing the performance of .NET applications.

  • Used Application Insights to track application performance metrics

  • Analyzed telemetry data to identify performance bottlenecks

  • Set up alerts and notifications for critical issues

  • Integrated Application Insights with Azure DevOps for continuous monitoring

Are these interview questions helpful?

Asked in Mphasis

3d ago

Q. what is JWT token,why we use it

Ans.

JWT token is a JSON Web Token used for secure transmission of information between parties.

  • JWT token is a compact and self-contained way to transmit information between parties.

  • It is digitally signed to verify its authenticity and integrity.

  • JWT tokens consist of three parts: header, payload, and signature.

  • They are commonly used for authentication and information exchange in web applications.

  • Example: JWT tokens are often used in OAuth 2.0 for secure authorization.

Asked in Mphasis

5d ago

Q. What caching techniques have you used in your projects?

Ans.

We use in-memory caching technique in our project to improve performance and reduce database load.

  • In-memory caching is used to store frequently accessed data in memory for quick retrieval

  • Helps reduce database load and improve application performance

  • Examples: using MemoryCache in .NET, Redis caching, caching frequently accessed data like user profiles or product information

Asked in TCS

2d ago

Q. What is yield , enum & absctract class

Ans.

Yield is used in C# to return a sequence of values, enum is a type that represents a set of named constants, and abstract class is a class that cannot be instantiated and must be inherited.

  • Yield is used in C# to return a sequence of values one at a time without blocking the caller.

  • Enum in C# is a value type that defines a set of named constants. For example, enum Days { Monday, Tuesday, Wednesday }.

  • Abstract class in C# is a class that cannot be instantiated and must be inheri...read more

Asked in Mphasis

6d ago

Q. Api Gateways is used in MicrosServices

Ans.

Yes, API Gateways are used in Microservices to manage and secure communication between services.

  • API Gateways act as a single entry point for clients to access multiple microservices

  • They handle authentication, authorization, rate limiting, logging, and monitoring

  • Examples of API Gateways include Kong, Apigee, and AWS API Gateway

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Asked in TCS

4d ago

Q. How would you implement authentication using an application?

Ans.

Authentication using application involves verifying the identity of users before granting access to resources.

  • Use authentication mechanisms like username/password, tokens, or biometrics.

  • Implement secure protocols like OAuth or OpenID Connect.

  • Utilize multi-factor authentication for added security.

  • Regularly update authentication methods to stay ahead of security threats.

Asked in CGI Group

4d ago

Q. What are delegates?

Ans.

Delegates are type-safe function pointers in C# that allow methods to be passed as parameters.

  • Delegates are similar to function pointers in C/C++.

  • Delegates can be used to define callback methods.

  • Delegates can be used to implement events in C#.

  • Delegates are type-safe and secure.

  • Example: delegate void MyDelegate(string message);

Asked in TCS

5d ago

Q. What are the concepts of OOPS?

Ans.

OOPs is a programming paradigm based on the concept of objects, which can contain data and code.

  • OOPs stands for Object-Oriented Programming.

  • It focuses on creating objects that interact with each other to solve a problem.

  • Encapsulation, Inheritance, Polymorphism, and Abstraction are the four main pillars of OOPs.

  • Example: A car can be considered as an object that has properties like color, model, and features, and methods like start, stop, and accelerate.

  • OOPs makes code reusable...read more

Asked in Nagarro

4d ago

Q. Solid principals in detail

Ans.

SOLID principles are a set of five design principles for writing maintainable and scalable code.

  • Single Responsibility Principle (SRP) - a class should have only one reason to change

  • Open/Closed Principle (OCP) - software entities should be open for extension but closed for modification

  • Liskov Substitution Principle (LSP) - objects of a superclass should be able to be replaced with objects of a subclass without breaking the program

  • Interface Segregation Principle (ISP) - clients ...read more

Interview Experiences of Popular Companies

TCS Logo
3.6
 • 11.1k Interviews
Mphasis Logo
3.3
 • 845 Interviews
Nagarro Logo
4.0
 • 793 Interviews
View all
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

Technical Dotnet Lead Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits