Dot Net Lead

Dot Net Lead Interview Questions and Answers

Updated 14 Aug 2024
search-icon

Q1. how does Session know which user is logged in

Ans.

Session uses a unique identifier to track which user is logged in

  • Session assigns a unique identifier to each user upon login

  • This identifier is stored in a cookie or in the URL

  • When the user makes a request, the server checks the identifier to determine which user is logged in

Q2. What is Interface and share real example

Ans.

An interface is a contract that defines a set of methods and properties that a class must implement.

  • Interfaces provide a way to achieve abstraction and polymorphism in object-oriented programming.

  • They allow for loose coupling between classes and promote code reusability.

  • An example of an interface in C# is the IDisposable interface, which defines a method for releasing unmanaged resources.

  • Another example is the IEnumerable interface, which defines methods for iterating over a ...read more

Q3. Microservice architecture and implementation

Ans.

Microservice architecture involves breaking down a large application into smaller, independent services that communicate with each other.

  • Each microservice is responsible for a specific function or feature of the application.

  • Microservices communicate with each other through APIs.

  • They can be developed, deployed, and scaled independently.

  • Microservices allow for better fault isolation and improved scalability.

  • Examples of companies using microservices include Netflix, Amazon, and ...read more

Q4. Filters vs middleware in .net core

Ans.

Filters and middleware in .NET Core serve similar purposes but have different implementations.

  • Filters are used to run logic before and after an action method in MVC, while middleware is used to handle requests and responses in the pipeline.

  • Filters are specific to MVC, while middleware can be used in any type of .NET Core application.

  • Filters are applied at the controller or action level, while middleware is applied globally to the application.

  • Filters are more tightly integrate...read more

Are these interview questions helpful?

Q5. What does App pool do in IIS

Ans.

App pool in IIS manages worker processes that host web applications, providing isolation and resource management.

  • App pool manages worker processes in IIS

  • Provides isolation for web applications

  • Controls resource usage for applications

  • Can be configured with specific settings like recycling, idle timeout, etc.

Q6. what is HTTP module in IIS

Ans.

HTTP module in IIS is a customizable component that can intercept and modify incoming and outgoing HTTP requests.

  • HTTP modules are .NET classes that implement the IHttpModule interface.

  • They can be used to perform tasks such as authentication, logging, compression, encryption, etc.

  • HTTP modules are configured in the web.config file of an ASP.NET application.

  • Example: A custom HTTP module can be created to log all incoming requests to a web application.

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Q7. how does CLR work

Ans.

CLR is the Common Language Runtime in .NET framework responsible for managing code execution.

  • CLR converts MSIL code into native code for execution

  • Manages memory, security, exception handling, and thread management

  • Provides garbage collection to automatically manage memory

  • Allows for interoperability between different languages in .NET framework

Q8. Why use Web API?

Ans.

Web API allows for communication between different systems over the internet using standard protocols like HTTP.

  • Enables communication between different systems over the internet

  • Uses standard protocols like HTTP for communication

  • Allows for easy integration with various platforms and devices

  • Facilitates the development of RESTful services

  • Provides flexibility and scalability for applications

Dot Net Lead Jobs

.Net Lead 9-12 years
Virtusa Consulting Services Pvt Ltd
3.8
Pune
Dotnet Lead 7-11 years
Virtusa Consulting Services Pvt Ltd
3.8
Hyderabad / Secunderabad
.Net Lead 7-10 years
Persistent Systems Limited
3.5
Hyderabad / Secunderabad

Q9. SOID Principal concept in C#

Ans.

SOID (Separation of Concerns, Open/Closed, Interface Segregation, Dependency Inversion) is a set of principles in C# for designing maintainable and scalable software.

  • SOID helps in achieving modularity, flexibility, and extensibility in software design.

  • Separation of Concerns (SoC) principle helps in dividing the software into smaller, independent modules.

  • Open/Closed principle (OCP) states that software entities should be open for extension but closed for modification.

  • Interface...read more

Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

3.7
 • 10.4k Interviews
3.6
 • 7.5k Interviews
3.4
 • 270 Interviews
3.8
 • 22 Interviews
View all

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

Dot Net Lead Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions

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

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter