Dot Net Lead
Dot Net Lead Interview Questions and Answers
Q1. how does Session know which user is logged in
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
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
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
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
Q5. What does App pool do in IIS
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
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 🌟
Q7. how does CLR work
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?
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
Q9. SOID Principal concept in C#
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 Questions of Similar Designations
Interview experiences of popular companies
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
Reviews
Interviews
Salaries
Users/Month