Senior .NET Developer

Senior .NET Developer Interview Questions and Answers for Freshers

Updated 6 Jul 2024

Popular Companies

search-icon

Q1. 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

Q2. 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

Q3. what are difference between put , patch and post

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.

Q4. How to store two values in same html tag

Ans.

You can store two values in the same HTML tag by using data attributes or hidden inputs.

  • Use data attributes to store additional data in HTML tags, such as

  • Use hidden inputs to store values that are not displayed on the page, such as

Are these interview questions helpful?

Q5. 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.

Q6. 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

Frequently asked in,

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Q7. What is the 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.

Q8. drop ,delete and truncate difference

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

Senior .NET Developer Jobs

ASP.NET Senior Developer 6-9 years
Capgemini Technology Services India Limited
3.8
Bangalore / Bengaluru
Senior DotNet Developer 8-11 years
Medline Healthcare Industries
4.2
Pune
Senior .Net Developer 5-9 years
Globant India Private Limited
3.9
Hyderabad / Secunderabad

Q9. 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

Q10. 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 Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions for Senior .NET Developer Related Skills

Interview experiences of popular companies

3.7
 • 10k Interviews
3.9
 • 7.8k Interviews
3.7
 • 7.3k Interviews
3.7
 • 5.2k Interviews
3.6
 • 3.6k Interviews
3.8
 • 2.8k Interviews
3.6
 • 284 Interviews
3.9
 • 161 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

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