Senior .NET Developer
Senior .NET Developer Interview Questions and Answers for Freshers
Q1. what is extension method ,value type and reference type ,migration in codefirst approach,Configure menthod in dotnet core ,
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?
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
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
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
Q5. What are the Design patterns?
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?
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
Share interview questions and help millions of jobseekers 🌟
Q7. What is the Expected CTC?
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
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
Q9. Routing concept in MVC,
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
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 Questions of Similar Designations
Top Interview Questions for Senior .NET Developer Related Skills
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