Senior .NET Developer

Senior .NET Developer Interview Questions and Answers for Freshers

Updated 7 Jul 2025
search-icon

Asked in Infosys

5d ago

Q. what is extension method ,value type and reference type ,migration in codefirst approach,Configure menthod in dotnet core ,

Ans.

Extension methods allow adding new methods to existing types, value types store data directly, reference types store references to data, migration in code-first approach involves updating database schema, Configure method in .NET Core configures services and middleware.

  • Extension methods are static methods that can be called as if they were instance methods on an existing type.

  • Value types store data directly on the stack, while reference types store references to data on the h...read more

Asked in Infogain

1d ago

Q. What are the differences between .Net and .Net Core?

Ans.

The main difference is that .NET Core is open-source and cross-platform while .NET Framework is Windows-only.

  • Both are used for building Windows applications, but .NET Core can also be used for web and cloud applications.

  • .NET Core has a smaller runtime and can be deployed as a single executable file.

  • .NET Core supports Docker containers and can be used on Linux and macOS.

  • .NET Framework has a larger runtime and requires installation on the target machine.

  • Some libraries and APIs ...read more

Asked in Infosys

5d ago

Q. What are the differences between PUT, PATCH, and POST requests?

Ans.

PUT is used to update or replace an existing resource, PATCH is used to partially update a resource, and POST is used to create a new resource.

  • PUT is idempotent, meaning multiple identical requests will have the same effect as a single request.

  • PATCH is not necessarily idempotent and is used to make partial updates to a resource.

  • POST is used to create a new resource on the server.

Asked in Nibav Lifts

4d ago

Q. How can you store two values in the same HTML tag?

Ans.

Use data attributes to store multiple values in the same HTML tag

  • Use data attributes like data-value1 and data-value2 to store two values in the same HTML tag

  • Access the values using JavaScript by querying the data attributes

Are these interview questions helpful?
3d ago

Q. What are the Design patterns?

Ans.

Design patterns are reusable solutions to common software development problems.

  • Design patterns provide proven solutions to recurring problems in software development.

  • They help in creating code that is more flexible, reusable, and maintainable.

  • Some common design patterns include Singleton, Factory, Observer, and Decorator.

  • Design patterns can be categorized into three types: Creational, Structural, and Behavioral.

Asked in Infosys

2d ago

Q. What is Dependency Injection?

Ans.

Dependency Injection is a design pattern that allows objects to receive dependencies rather than creating them internally.

  • DI is a way to achieve loose coupling between objects

  • It helps in creating more testable and maintainable code

  • DI can be implemented using constructor injection, property injection, or method injection

  • Example: Instead of creating a database connection object inside a class, we can inject it from outside

  • Example: ASP.NET Core uses DI to inject services into co...read more

Senior .NET Developer Jobs

Euphoric Thought Technologies logo
Euphoric Thought Technologies - Senior .Net Developer - ASP/MVC (4-7 yrs) 4-7 years
Euphoric Thought Technologies
5.0
₹ 18 L/yr - ₹ 20 L/yr
TransUnion logo
Sr. Dot Net Developer 8-13 years
TransUnion
3.9
Chennai
Cognizant logo
Senior .Net Developer 4-9 years
Cognizant
3.7
₹ 5 L/yr - ₹ 20 L/yr
(AmbitionBox estimate)
Hyderabad / Secunderabad

Asked in TCS

1d ago

Q. What is your expected CTC?

Ans.

Expected CTC depends on various factors such as experience, skills, location, and company policies.

  • Expected CTC can vary based on the candidate's experience and skills.

  • Location can also play a role in determining the Expected CTC.

  • Company policies and budget can also impact the Expected CTC.

  • It is important to research industry standards and negotiate based on market rates.

  • Providing a specific number may limit negotiation opportunities.

Asked in Infosys

2d ago

Q. What are the differences between DROP, DELETE, and TRUNCATE?

Ans.

Drop, delete, and truncate are SQL commands used to remove data from a table, but they have different functionalities.

  • DROP: Used to remove an entire table or database

  • DELETE: Used to remove specific rows from a table

  • TRUNCATE: Used to remove all rows from a table, but keeps the table structure

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Asked in Infosys

3d ago

Q. Routing concept in MVC,

Ans.

Routing in MVC is the process of mapping URLs to controller actions.

  • Routing determines which controller and action to execute based on the URL requested

  • Routes are defined in the RouteConfig.cs file in MVC applications

  • Routes can include parameters that are passed to the controller action

  • Routes can be customized using route constraints and route attributes

Asked in Nibav Lifts

2d ago

Q. Stored procedure vs f unctions

Ans.

Stored procedures are precompiled SQL queries stored in the database, while functions are reusable blocks of code that return a value.

  • Stored procedures are compiled and stored in the database for faster execution.

  • Functions are reusable blocks of code that can be called within SQL queries.

  • Stored procedures can perform multiple operations and transactions, while functions are typically used for calculations or data manipulation.

  • Stored procedures can be used to update, insert, o...read more

Interview Experiences of Popular Companies

TCS Logo
3.6
 • 11.1k Interviews
Accenture Logo
3.7
 • 8.7k Interviews
Infosys Logo
3.6
 • 7.9k Interviews
Wipro Logo
3.7
 • 6.1k Interviews
Capgemini Logo
3.7
 • 5.1k Interviews
View all

Top Interview Questions for Senior .NET Developer Related Skills

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

Senior .NET Developer 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