Dot Net Engineer

Dot Net Engineer Interview Questions and Answers

Updated 20 Mar 2024

Q1. What is middleware and how do you implement custom middleware?

Ans.

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#?

Ans.

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?

Ans.

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?

Ans.

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

Are these interview questions helpful?

Q5. How do you test Api?

Ans.

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

C# .NET Engineer 5-10 years
GlobalLogic
3.7
Noida
Hiring MS.Net Engineer For UST Ahmedabad 1-3 years
UST
3.8
Ahmedabad
Dot Net Engineer 1-2 years
Wrench Solutions
4.5
₹ 4 L/yr - ₹ 5 L/yr
Kochi
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

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 Engineer 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
Get AmbitionBox app

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