Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by TCS Team. If you also belong to the team, you can get access from here

TCS Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

TCS DOT NET Developer Interview Questions and Answers

Updated 28 Apr 2025

17 Interview questions

A DOT NET Developer was asked 1mo ago
Q. What is the SQL query used to update the value of 5 to the HR in the employee details table?
Ans. 

To update the value of 5 to HR in the employee details table, use the SQL UPDATE statement with the appropriate conditions.

  • SQL UPDATE Statement: The basic syntax is 'UPDATE table_name SET column_name = new_value WHERE condition;'.

  • Example: To update the 'department' column to 'HR' for employees with an ID of 5, the query would be: 'UPDATE employee_details SET department = 'HR' WHERE employee_id = 5;'.

  • WHERE Clause: ...

A DOT NET Developer was asked 6mo ago
Q. What is the difference between web.config and Machine.config?
Ans. 

web.config is specific to a web application and overrides settings in Machine.config

  • web.config is specific to a web application, while Machine.config is at the machine level

  • web.config can override settings in Machine.config for a specific application

  • Machine.config is located in the .NET framework folder, while web.config is in the application folder

DOT NET Developer Interview Questions Asked at Other Companies

asked in Infosys
Q1. What is the difference between Windows application development an ... read more
Q2. How many ways are there to send data to a controller from a View?
Q3. What is Trigger,Store procedure, join in sql query and their synt ... read more
asked in Infosys
Q4. What are the components of the .NET Framework and their types?
asked in Infosys
Q5. What kind of database have you used in your projects?
A DOT NET Developer was asked 6mo ago
Q. Explain state management in .NET.
Ans. 

State management in .NET refers to the process of storing and retrieving data during the lifecycle of an application.

  • State management can be achieved using various techniques such as session state, view state, cookies, and query strings.

  • Session state allows storing user-specific data across multiple pages during a user session.

  • View state stores the state of the page and its controls between postbacks.

  • Cookies can b...

A DOT NET Developer was asked 9mo ago
Q. What is a microservice?
Ans. 

A micro service is a small, independent, and loosely coupled service that performs a specific business function.

  • Micro services are designed to be small and focused on a single task or business function.

  • They communicate with each other through APIs.

  • Micro services can be independently deployed, scaled, and maintained.

  • Examples include user authentication service, payment processing service, and notification service.

What people are saying about TCS

View All
a senior associate
1w
Tata's lost its touch? TCS ain't what it used to be :-(
Tata is not the same after Sir Ratan Tata! TCS used to really look after its employees, even when they were on the bench. Now, things have changed and it's disappointing.
FeedCard Image
Got a question about TCS?
Ask anonymously on communities.
A DOT NET Developer was asked 9mo ago
Q. What is your expected CTC per annum?
Ans. 

Depends on the job role, company size, location, and benefits package.

  • Consider the job role and responsibilities - more senior roles typically command higher salaries.

  • Research the average salary for DOT NET Developers in your location.

  • Take into account the size and reputation of the company - larger companies may offer higher salaries.

  • Factor in any additional benefits such as healthcare, bonuses, or stock options.

  • ...

🔥 Asked by recruiter 2 times
A DOT NET Developer was asked 10mo ago
Q. What are the differences between abstract classes and interfaces?
Ans. 

Abstract class can have implementation details, interfaces cannot. Classes can implement multiple interfaces but only inherit from one abstract class.

  • Abstract class can have method implementations, interfaces cannot.

  • Classes can implement multiple interfaces but can only inherit from one abstract class.

  • Interfaces are used to define a contract for classes to implement, while abstract classes can provide a partial im...

A DOT NET Developer was asked 11mo ago
Q. What are the response codes in an API?
Ans. 

Response codes in API indicate the status of a request made to the server.

  • 200 - OK: Request was successful

  • 400 - Bad Request: Request could not be understood by the server

  • 404 - Not Found: Requested resource could not be found

  • 500 - Internal Server Error: Server encountered an unexpected condition

Are these interview questions helpful?
🔥 Asked by recruiter 4 times
A DOT NET Developer was asked 11mo ago
Q. What is an API?
Ans. 

An API (Application Programming Interface) is a set of rules and protocols that allows different software applications to communicate with each other.

  • APIs define the methods and data formats that applications can use to request and exchange information.

  • APIs can be used to access web services, databases, or other external systems.

  • Examples of APIs include Google Maps API for accessing map data, Twitter API for posti...

A DOT NET Developer was asked 12mo ago
Q. Explain the D in the SOLID principle.
Ans. 

D stands for Dependency Inversion Principle in SOLID principle

  • High-level modules should not depend on low-level modules. Both should depend on abstractions.

  • Abstractions should not depend on details. Details should depend on abstractions.

  • Example: Instead of directly calling a database connection in a class, use an interface to abstract the database connection.

  • Example: Using dependency injection to inject dependenci...

A DOT NET Developer was asked
Q. How do you authenticate APIs?
Ans. 

API authentication can be done using various methods like OAuth, API keys, JWT tokens, etc.

  • Use OAuth for secure authorization

  • Implement API keys for simple authentication

  • Utilize JWT tokens for stateless authentication

  • Consider using HMAC for message integrity

TCS DOT NET Developer Interview Experiences

19 interviews found

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Difference between web.config and Machine.config
  • Ans. 

    web.config is specific to a web application and overrides settings in Machine.config

    • web.config is specific to a web application, while Machine.config is at the machine level

    • web.config can override settings in Machine.config for a specific application

    • Machine.config is located in the .NET framework folder, while web.config is in the application folder

  • Answered by AI
  • Q2. Explain about state management
  • Ans. 

    State management in .NET refers to the process of storing and retrieving data during the lifecycle of an application.

    • State management can be achieved using various techniques such as session state, view state, cookies, and query strings.

    • Session state allows storing user-specific data across multiple pages during a user session.

    • View state stores the state of the page and its controls between postbacks.

    • Cookies can be use...

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I appeared for an interview in Mar 2025, where I was asked the following questions.

  • Q1. What is the SQL query to find the second highest salary from the employee table? What is the difference between the primary key and unique key?
  • Ans. 

    To find the second highest salary, use SQL queries with subqueries or the DISTINCT keyword for unique values.

    • Using Subquery: SELECT MAX(salary) FROM employee WHERE salary < (SELECT MAX(salary) FROM employee);

    • Using DISTINCT: SELECT DISTINCT salary FROM employee ORDER BY salary DESC LIMIT 1 OFFSET 1;

    • Handles Ties: Both methods consider ties, ensuring the second highest unique salary is returned.

    • Performance: The choice ...

  • Answered by AI
  • Q2. What is the SQL query used to update the value of 5 to the HR in the employee details table?
  • Ans. 

    To update the value of 5 to HR in the employee details table, use the SQL UPDATE statement with the appropriate conditions.

    • SQL UPDATE Statement: The basic syntax is 'UPDATE table_name SET column_name = new_value WHERE condition;'.

    • Example: To update the 'department' column to 'HR' for employees with an ID of 5, the query would be: 'UPDATE employee_details SET department = 'HR' WHERE employee_id = 5;'.

    • WHERE Clause: It's ...

  • Answered by AI
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I applied via Approached by Company and was interviewed in Mar 2024. There was 1 interview round.

Round 1 - Technical 

(5 Questions)

  • Q1. It was a combination of two interviews in one. Technical and Managerial interview was taken in one call and it was 1.5 hr long. It consisted of some technical and managerial level questions and with the di...
  • Q2. Explain Solid Principles
  • Ans. 

    Solid Principles are a set of five design principles for writing clean, maintainable, and scalable code.

    • Single Responsibility Principle (SRP) - A class should have only one reason to change.

    • Open/Closed Principle (OCP) - Classes should be open for extension but closed for modification.

    • Liskov Substitution Principle (LSP) - Objects of a superclass should be replaceable with objects of its subclasses without affecting the ...

  • Answered by AI
  • Q3. Questions about scenarios in polymorphism
  • Q4. Dependency Injection and how to implement that.
  • Ans. 

    Dependency Injection is a design pattern where dependencies are injected into a class rather than created within the class.

    • Dependency Injection helps in achieving loose coupling between classes.

    • It allows for easier testing by enabling mocking of dependencies.

    • There are different ways to implement Dependency Injection such as constructor injection, property injection, and method injection.

    • Popular DI containers/frameworks...

  • Answered by AI
  • Q5. Configuration where do we store in application.
  • Ans. 

    Configuration settings can be stored in various places such as appsettings.json, environment variables, database, or Azure Key Vault.

    • appsettings.json file in ASP.NET Core projects

    • Environment variables for sensitive data

    • Database for dynamic configuration

    • Azure Key Vault for secure storage

  • Answered by AI

Skills evaluated in this interview

DOT NET Developer Interview Questions & Answers

user image Rushikesh Kulkarni

posted on 18 Nov 2024

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
No response

I applied via Walk-in and was interviewed in May 2024. There was 1 interview round.

Round 1 - Technical 

(3 Questions)

  • Q1. General oops , multiple inheritance
  • Q2. Reverse a string
  • Ans. 

    To reverse a string, iterate through the characters in the string and build a new string in reverse order.

    • Create a new empty string to store the reversed string

    • Iterate through the characters of the original string from the end to the beginning

    • Append each character to the new string

    • Return the reversed string

  • Answered by AI
  • Q3. Routing in .net mvc
  • Ans. 

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

    • Routing is defined in the RouteConfig.cs file in the App_Start folder.

    • Routes are defined using the MapRoute method, which takes parameters like URL pattern, default values, and constraints.

    • Routes are matched in the order they are defined, so the most specific routes should be placed at the top.

    • Route parameters are passed to controller actions as m...

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in May 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Explain D in SOLID principle
  • Ans. 

    D stands for Dependency Inversion Principle in SOLID principle

    • High-level modules should not depend on low-level modules. Both should depend on abstractions.

    • Abstractions should not depend on details. Details should depend on abstractions.

    • Example: Instead of directly calling a database connection in a class, use an interface to abstract the database connection.

    • Example: Using dependency injection to inject dependencies in...

  • Answered by AI
  • Q2. Details about the projects I worked on
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. What is a micro service
  • Ans. 

    A micro service is a small, independent, and loosely coupled service that performs a specific business function.

    • Micro services are designed to be small and focused on a single task or business function.

    • They communicate with each other through APIs.

    • Micro services can be independently deployed, scaled, and maintained.

    • Examples include user authentication service, payment processing service, and notification service.

  • Answered by AI
  • Q2. Authentication and authorisation process

Skills evaluated in this interview

DOT NET Developer Interview Questions & Answers

user image Arun Kumar.V

posted on 28 May 2024

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Walk-in and was interviewed in Apr 2024. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. What is Index in SQL ?
  • Ans. 

    An index in SQL is a data structure that improves the speed of data retrieval operations on a database table.

    • Indexes are used to quickly locate data without having to search every row in a table.

    • They can be created on one or more columns in a table.

    • Examples of indexes include primary keys, unique constraints, and non-unique indexes.

  • Answered by AI
  • Q2. How you authenticate api
  • Ans. 

    API authentication can be done using various methods like OAuth, API keys, JWT tokens, etc.

    • Use OAuth for secure authorization

    • Implement API keys for simple authentication

    • Utilize JWT tokens for stateless authentication

    • Consider using HMAC for message integrity

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. How we implement dependence injection ?
  • Ans. 

    Dependency injection is a design pattern where objects are passed their dependencies rather than creating them internally.

    • Create an interface for the dependency

    • Implement the interface in a separate class

    • Pass the dependency to the class that needs it

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Difference between abstract class and interfaces
  • Ans. 

    Abstract class can have implementation details, interfaces cannot. Classes can implement multiple interfaces but only inherit from one abstract class.

    • Abstract class can have method implementations, interfaces cannot.

    • Classes can implement multiple interfaces but can only inherit from one abstract class.

    • Interfaces are used to define a contract for classes to implement, while abstract classes can provide a partial impleme...

  • Answered by AI

Skills evaluated in this interview

DOT NET Developer Interview Questions & Answers

user image chandrakant mani

posted on 17 Oct 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Design pattern,SOLID principle.
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Walk-in and was interviewed in Mar 2024. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Partial view, clustered indexed vs non clustered indexes
  • Q2. Interface and abstract class
Round 2 - HR 

(2 Questions)

  • Q1. Expected CTC per annum
  • Ans. 

    Depends on the job role, company size, location, and benefits package.

    • Consider the job role and responsibilities - more senior roles typically command higher salaries.

    • Research the average salary for DOT NET Developers in your location.

    • Take into account the size and reputation of the company - larger companies may offer higher salaries.

    • Factor in any additional benefits such as healthcare, bonuses, or stock options.

    • Be pr...

  • Answered by AI
  • Q2. Salary negotiation and location

TCS Interview FAQs

How many rounds are there in TCS DOT NET Developer interview?
TCS interview process usually has 1-2 rounds. The most common rounds in the TCS interview process are Technical, HR and Resume Shortlist.
How to prepare for TCS DOT NET Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at TCS. The most common topics and skills that interviewers at TCS expect are ASP.Net, .Net, C#, MVC and SQL Server.
What are the top questions asked in TCS DOT NET Developer interview?

Some of the top questions asked at the TCS DOT NET Developer interview -

  1. What is the SQL query to find the second highest salary from the employee table...read more
  2. Configuration where do we store in applicati...read more
  3. Dependency Injection and how to implement th...read more
How long is the TCS DOT NET Developer interview process?

The duration of TCS DOT NET Developer interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Overall Interview Experience Rating

4.1/5

based on 15 interview experiences

Difficulty level

Easy 25%
Moderate 75%

Duration

Less than 2 weeks 88%
More than 8 weeks 13%
View more
TCS DOT NET Developer Salary
based on 635 salaries
₹2.4 L/yr - ₹10.2 L/yr
14% more than the average DOT NET Developer Salary in India
View more details

TCS DOT NET Developer Reviews and Ratings

based on 32 reviews

4.3/5

Rating in categories

4.2

Skill development

4.8

Work-life balance

3.3

Salary

4.8

Job security

4.3

Company culture

3.4

Promotions

4.2

Work satisfaction

Explore 32 Reviews and Ratings
System Engineer
1.1L salaries
unlock blur

₹1 L/yr - ₹9 L/yr

IT Analyst
65.7k salaries
unlock blur

₹5.1 L/yr - ₹16.8 L/yr

AST Consultant
53.5k salaries
unlock blur

₹8 L/yr - ₹25.5 L/yr

Assistant System Engineer
33.2k salaries
unlock blur

₹2.6 L/yr - ₹6.4 L/yr

Associate Consultant
32.7k salaries
unlock blur

₹9 L/yr - ₹33.7 L/yr

Explore more salaries
Compare TCS with

Amazon

4.0
Compare

Wipro

3.7
Compare

Infosys

3.6
Compare

Accenture

3.8
Compare
write
Share an Interview