Dot Net Engineer
Dot Net Engineer Interview Questions and Answers
Q1. What is middleware and how do you implement custom middleware?
Middleware is software that acts as a bridge between an operating system or database and applications, allowing them to communicate with each other.
Middleware is a layer of software that connects different components of an application, such as the frontend and backend.
It can handle tasks like authentication, logging, error handling, and request processing.
Custom middleware can be implemented by creating a function that takes in parameters like request, response, and next, and...read more
Q2. What are indexer in c#?
Indexers in C# allow objects to be indexed like arrays, providing a way to access elements using an index value.
Indexers are defined using 'this' keyword followed by square brackets containing the index parameters.
They can be used to get or set the value of an element in a collection or class.
Example: public string this[int index] { get { return myArray[index]; } set { myArray[index] = value; }}
Q3. What is application Poll?
Application Poll is a process where the application periodically checks for updates or changes in a certain resource or data source.
Application Polling is commonly used in web applications to update data without the need for manual refresh.
It helps in keeping the application up-to-date with the latest information.
Polling intervals can be set based on the frequency of updates in the resource being monitored.
Q4. What is AsNoTracking in Linq?
AsNoTracking in Linq is used to disable change tracking in Entity Framework, improving performance by not storing entities in the context.
AsNoTracking method is used to retrieve data without tracking changes made to the entities.
It is useful when you only need to read data and do not intend to update or delete it.
By using AsNoTracking, you can improve performance by avoiding the overhead of storing entities in the context.
Example: var result = context.Products.AsNoTracking()....read more
Q5. How do you test Api?
API testing involves verifying the functionality, performance, reliability, and security of an API.
Write test cases to cover all possible scenarios
Use tools like Postman or SoapUI for manual testing
Automate testing using tools like Selenium or JUnit
Verify response codes, data formats, and error handling
Perform load testing to check performance under heavy traffic
Dot Net Engineer Jobs
Interview Questions of Similar Designations
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