Premium Employer

i

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

Infosys Verified Tick Work with us arrow

Compare button icon Compare button icon Compare

Filter interviews by

Infosys Dot Net Core Developer Interview Questions and Answers

Updated 3 Feb 2024

19 Interview questions

A Dot Net Core Developer was asked
Q. Why should we use Entity Framework rather than writing SQL queries?
Ans. 

Entity Framework provides a higher level of abstraction, simplifies database operations, improves productivity, and reduces code complexity.

  • Entity Framework abstracts away the underlying database, allowing developers to work with a higher level of abstraction.

  • It simplifies database operations by providing an object-oriented approach to data access.

  • Entity Framework improves productivity by reducing the amount of co...

A Dot Net Core Developer was asked
Q. How do you improve your Web API performance?
Ans. 

Improving web API performance involves optimizing code, caching, using asynchronous programming, and scaling infrastructure.

  • Optimize code by reducing unnecessary database queries, using efficient algorithms, and minimizing network calls.

  • Implement caching to store frequently accessed data and reduce the load on the server.

  • Use asynchronous programming to handle multiple requests concurrently and improve responsivene...

Dot Net Core Developer Interview Questions Asked at Other Companies

asked in Infosys
Q1. How do you return and handle a large number of records in a web A ... read more
asked in Infosys
Q2. Why should we use Entity Framework rather than writing SQL querie ... read more
asked in Infosys
Q3. What is dependency injection and life cycle methods
asked in Infosys
Q4. Where have you used generic concepts in your projects?
asked in Infosys
Q5. How do you improve your Web API performance?
A Dot Net Core Developer was asked
Q. How do you secure your web API?
Ans. 

Securing a web API involves implementing authentication, authorization, and encryption.

  • Implement authentication to verify the identity of the client accessing the API

  • Implement authorization to control what actions the client can perform

  • Use HTTPS to encrypt the communication between the client and the API

  • Implement rate limiting to prevent abuse and protect against denial-of-service attacks

  • Apply input validation and...

A Dot Net Core Developer was asked
Q. What is the difference between generics and delegates?
Ans. 

Delegates are function pointers used to encapsulate methods, while generics are used to create reusable code for different data types.

  • Delegates are used to create callbacks and event handlers.

  • Generics allow the creation of classes, methods, and interfaces that can work with different data types.

  • Delegates can be used to define and invoke methods dynamically at runtime.

  • Generics provide type safety and eliminate the ...

A Dot Net Core Developer was asked
Q. Where have you used generic concepts in your projects?
Ans. 

Generics can be used in projects to create reusable code that can work with different types.

  • Generics can be used in data structures like lists, dictionaries, and queues to store and retrieve different types of data.

  • Generics can be used in algorithms and functions to work with different types of inputs and outputs.

  • Generics can be used in database operations to handle different types of data.

  • Generics can be used in ...

A Dot Net Core Developer was asked
Q. How do you return and handle a large number of records in a web API?
Ans. 

To handle large number of records in a web API, you can use pagination, streaming, or compression techniques.

  • Implement pagination to retrieve records in smaller chunks

  • Use streaming to process and return records in real-time

  • Apply compression techniques like GZIP to reduce the size of the response

  • Consider caching strategies to improve performance

A Dot Net Core Developer was asked
Q. Write a join query using Entity Framework.
Ans. 

Join query using Entity Framework

  • Use the LINQ query syntax to perform joins in Entity Framework

  • Use the 'join' keyword to specify the join condition

  • Use 'into' keyword to create a group join

  • Use 'on' keyword to specify the join condition

  • Use 'equals' keyword to define the equality condition

Are these interview questions helpful?
A Dot Net Core Developer was asked
Q. What is the use of delegates?
Ans. 

Delegates are used to create references to methods, allowing methods to be passed as parameters or stored as variables.

  • Delegates provide a way to achieve callback functionality in C#.

  • Delegates can be used to implement event handling.

  • Delegates enable loose coupling and separation of concerns.

  • Delegates can be used to create and invoke anonymous methods.

  • Delegates can be used to implement the observer pattern.

A Dot Net Core Developer was asked
Q. Explain the structure of the project?
Ans. 

The project structure in Dot Net Core typically consists of folders for source code, configuration files, and dependencies.

  • The source code is usually organized into folders based on the application's modules or layers, such as Controllers, Models, and Views.

  • Configuration files like appsettings.json store application settings and connection strings.

  • Dependencies are managed using a package manager like NuGet, and th...

🔥 Asked by recruiter 3 times
A Dot Net Core Developer was asked
Q. What are the basic concepts of OOP?
Ans. 

OOPs concepts include encapsulation, inheritance, polymorphism, and abstraction, essential for structured programming.

  • Encapsulation: Bundling data and methods that operate on the data within one unit, e.g., a class.

  • Inheritance: Mechanism where one class inherits properties and methods from another, e.g., a 'Dog' class inheriting from an 'Animal' class.

  • Polymorphism: Ability to present the same interface for differe...

Infosys Dot Net Core Developer Interview Experiences

3 interviews found

Interview experience
4
Good
Difficulty level
Easy
Process Duration
6-8 weeks
Result
-

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

Round 1 - Technical 

(17 Questions)

  • Q1. Middleware concept
  • Q2. Global exception handling
  • Ans. 

    Global exception handling in .NET Core allows centralized management of errors in web applications.

    • Use middleware to catch exceptions globally. Example: app.UseMiddleware<ExceptionHandlingMiddleware>();

    • Implement custom exception filters for specific scenarios. Example: [ServiceFilter(typeof(CustomExceptionFilter))]

    • Return standardized error responses. Example: new ObjectResult(new { error = ex.Message }) { StatusC...

  • Answered by AI
  • Q3. Authentication and authorisation mechanism
  • Q4. How to secure your web api
  • Ans. 

    Securing a web API involves implementing authentication, authorization, and encryption.

    • Implement authentication to verify the identity of the client accessing the API

    • Implement authorization to control what actions the client can perform

    • Use HTTPS to encrypt the communication between the client and the API

    • Implement rate limiting to prevent abuse and protect against denial-of-service attacks

    • Apply input validation and outp...

  • Answered by AI
  • Q5. GitHub repository work flow
  • Q6. How to improving your web api performance
  • Ans. 

    Improving web API performance involves optimizing code, caching, using asynchronous programming, and scaling infrastructure.

    • Optimize code by reducing unnecessary database queries, using efficient algorithms, and minimizing network calls.

    • Implement caching to store frequently accessed data and reduce the load on the server.

    • Use asynchronous programming to handle multiple requests concurrently and improve responsiveness.

    • Sc...

  • Answered by AI
  • Q7. Basic oops concept
  • Ans. 

    OOPs concepts include encapsulation, inheritance, polymorphism, and abstraction, essential for structured programming.

    • Encapsulation: Bundling data and methods that operate on the data within one unit, e.g., a class.

    • Inheritance: Mechanism where one class inherits properties and methods from another, e.g., a 'Dog' class inheriting from an 'Animal' class.

    • Polymorphism: Ability to present the same interface for different da...

  • Answered by AI
  • Q8. Difference between generic and delegates
  • Ans. 

    Delegates are function pointers used to encapsulate methods, while generics are used to create reusable code for different data types.

    • Delegates are used to create callbacks and event handlers.

    • Generics allow the creation of classes, methods, and interfaces that can work with different data types.

    • Delegates can be used to define and invoke methods dynamically at runtime.

    • Generics provide type safety and eliminate the need ...

  • Answered by AI
  • Q9. Where to use generic concept in your project?
  • Ans. 

    Generics can be used in projects to create reusable code that can work with different types.

    • Generics can be used in data structures like lists, dictionaries, and queues to store and retrieve different types of data.

    • Generics can be used in algorithms and functions to work with different types of inputs and outputs.

    • Generics can be used in database operations to handle different types of data.

    • Generics can be used in user ...

  • Answered by AI
  • Q10. What is the use of delegates?
  • Ans. 

    Delegates are used to create references to methods, allowing methods to be passed as parameters or stored as variables.

    • Delegates provide a way to achieve callback functionality in C#.

    • Delegates can be used to implement event handling.

    • Delegates enable loose coupling and separation of concerns.

    • Delegates can be used to create and invoke anonymous methods.

    • Delegates can be used to implement the observer pattern.

  • Answered by AI
  • Q11. Write join query using entity framework
  • Ans. 

    Join query using Entity Framework

    • Use the LINQ query syntax to perform joins in Entity Framework

    • Use the 'join' keyword to specify the join condition

    • Use 'into' keyword to create a group join

    • Use 'on' keyword to specify the join condition

    • Use 'equals' keyword to define the equality condition

  • Answered by AI
  • Q12. What is dependency injection and life cycle methods
  • Ans. 

    Dependency injection is a design pattern that allows objects to be loosely coupled by providing their dependencies externally.

    • Dependency injection is a way to achieve inversion of control in software development.

    • It helps in creating loosely coupled and modular code.

    • In dependency injection, the dependencies of a class are provided externally rather than being created within the class itself.

    • This allows for easier testin...

  • Answered by AI
  • Q13. Basic Linq questions
  • Q14. How to returen& handle large number of records in web api
  • Ans. 

    To handle large number of records in a web API, you can use pagination, streaming, or compression techniques.

    • Implement pagination to retrieve records in smaller chunks

    • Use streaming to process and return records in real-time

    • Apply compression techniques like GZIP to reduce the size of the response

    • Consider caching strategies to improve performance

  • Answered by AI
  • Q15. Filters concepts
  • Q16. Explain the structure of the project?
  • Ans. 

    The project structure in Dot Net Core typically consists of folders for source code, configuration files, and dependencies.

    • The source code is usually organized into folders based on the application's modules or layers, such as Controllers, Models, and Views.

    • Configuration files like appsettings.json store application settings and connection strings.

    • Dependencies are managed using a package manager like NuGet, and their v...

  • Answered by AI
  • Q17. Why should use entity framework rather than writing sql query?
  • Ans. 

    Entity Framework provides a higher level of abstraction, simplifies database operations, improves productivity, and reduces code complexity.

    • Entity Framework abstracts away the underlying database, allowing developers to work with a higher level of abstraction.

    • It simplifies database operations by providing an object-oriented approach to data access.

    • Entity Framework improves productivity by reducing the amount of code ne...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Infosys Dot Net Core Developer interview:
  • .Net Core
  • Entity Framework
  • LINQ
  • Web Api
  • SQL Server
  • C#

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Sep 2023. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Technical 

(3 Questions)

  • Q1. Explain about Program.Cs and Startup.cs?
  • Ans. 

    Program.cs is the entry point of a .NET Core application, while Startup.cs configures services and middleware.

    • Program.cs contains the Main method which is the entry point of the application

    • Startup.cs configures services and middleware for the application

    • In Program.cs, you can configure the host and call the Startup class

    • Startup.cs typically includes ConfigureServices and Configure methods

  • Answered by AI
  • Q2. Diffrence between .Net and .Net Core?
  • Ans. 

    The main difference between .NET and .NET Core is that .NET Core is a cross-platform, open-source framework while .NET is a Windows-only framework.

    • NET Core is cross-platform and can run on Windows, macOS, and Linux, while .NET is limited to Windows.

    • .NET Core is open-source and community-driven, while .NET is developed and maintained by Microsoft.

    • .NET Core is modular and lightweight, allowing developers to include only ...

  • Answered by AI
  • Q3. Some basic Questions of .Net and SQL

Interview Preparation Tips

Interview preparation tips for other job seekers - Be Prepared before going to Interview.

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Job Portal and was interviewed in Aug 2022. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(6 Questions)

  • Q1. Design patterns. Explain any one?
  • Ans. 

    Factory pattern. Creates objects without exposing the instantiation logic to the client.

    • Defines an interface for creating objects, but lets subclasses decide which classes to instantiate.

    • Client only knows the abstract type, not the concrete type.

    • Used when a class cannot anticipate the type of objects it must create.

    • Examples: Abstract Factory, Singleton, Builder, Prototype.

  • Answered by AI
  • Q2. Describe startup class
  • Ans. 

    Startup class is a class in ASP.NET Core that is used to configure services and middleware for the application.

    • It is responsible for configuring the application's request pipeline.

    • It is used to register services that the application will use.

    • It is where middleware components are added to the pipeline.

    • It can be used to configure the application's logging and exception handling.

    • It is typically found in the Startup.cs fil...

  • Answered by AI
  • Q3. Explain how to do dependency injection
  • Ans. 

    Dependency injection is a design pattern used to inject dependencies into a class or method.

    • Create an interface for the dependency

    • Create a class that implements the interface

    • Register the class with the dependency injection container

    • Inject the dependency into the class or method

    • Use the dependency in the class or method

  • Answered by AI
  • Q4. Difference between scoped , transient and singleton
  • Ans. 

    Scoped, transient and singleton are three different lifetimes for services in .NET Core.

    • Scoped services are created once per request and are disposed at the end of the request.

    • Transient services are created each time they are requested.

    • Singleton services are created once and are reused throughout the lifetime of the application.

    • Use scoped services for components that are request-specific, transient services for lightwe...

  • Answered by AI
  • Q5. WAP to find the prime number
  • Ans. 

    WAP to find the prime number

    • Loop through numbers and check if divisible by any number less than it

    • Exclude 1 and the number itself

    • 2 is the only even prime number

  • Answered by AI
  • Q6. WAP to reverse a string letters
  • Ans. 

    A program to reverse the letters of a given string.

    • Create an empty string to store the reversed string

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

    • Append each character to the empty string

    • Return the reversed string

  • Answered by AI
Round 3 - HR 

(2 Questions)

  • Q1. Overview of your location and technical skills?
  • Ans. 

    I am a Dot Net Core Developer with expertise in location-based services and technical skills in various programming languages.

    • Location: I am currently based in New York City, which is a major hub for technology and innovation.

    • Technical Skills: I have extensive experience in developing web applications using Dot Net Core, C#, ASP.NET, and SQL Server.

    • I am proficient in front-end technologies like HTML, CSS, and JavaScrip...

  • Answered by AI
  • Q2. Why you want to join Infosys
  • Ans. 

    I want to join Infosys because of its reputation as a leading global IT services company.

    • Infosys has a strong presence in the IT industry and is known for its expertise in delivering innovative solutions.

    • Joining Infosys would provide me with opportunities to work on challenging projects and enhance my skills.

    • Infosys has a collaborative work culture that encourages learning and growth.

    • The company offers competitive comp...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be calm, have patience for job seeking period. There’s always a job if you have skills.

All the best.. You will be having a best future🙂

Skills evaluated in this interview

What people are saying about Infosys

View All
yedabhai
1w
works at
Hyperpure
Are we not even safe in our own workplaces?
An Infosys employee was arrested for secretly recording women in the office washroom. Over 30 videos were found on his phone. This isn't just shocking, it's horrifying. Offices are meant to be safe, respectful spaces. 🙎 When will companies truly prioritize safety and surveillance in all corners, not just the visible ones?
FeedCard Image
Got a question about Infosys?
Ask anonymously on communities.

Interview questions from similar companies

Interview Questionnaire 

1 Question

  • Q1. In 5 programs without effecting one by one how can you debug a particular program and how can you know tha program is calling in debug
  • Ans. 

    To debug a particular program without affecting others, use breakpoints and step through the code.

    • Set a breakpoint in the program you want to debug

    • Step through the code using a debugger to identify the issue

    • Use logging statements to track the flow of the program

    • Check the call stack to see which functions are being called

    • Use conditional breakpoints to stop the program at specific points

  • Answered by AI

Skills evaluated in this interview

I applied via Campus Placement and was interviewed before Sep 2021. There were 4 interview rounds.

Round 1 - Aptitude Test 

Prepare normal for aptitude - maths, quant, analytic

Round 2 - Group Discussion 

My GD topic was Is internet good for students or not

Round 3 - Coding Test 

I didn't attempt this as I was noob back in third year Engg

Round 4 - HR 

(1 Question)

  • Q1. Basic questions can you relocate, tell me about ur GD and composition

Interview Preparation Tips

Interview preparation tips for other job seekers - Easy peasy give ur best. Prepare well. Hope u get the job. Phir tho google ka hi dream rhe gaya he mera.

I applied via Campus Placement and was interviewed in May 2021. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Data srructures

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident revise data structures ,
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Company Website and was interviewed before Dec 2021. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

There are 2section of exam i.e English and Data structure

Round 3 - Mind analysis games 

(2 Questions)

  • Q1. First round interview is technical interview and managerial interviews which is not that tough. Do all the FaQ on your projects and if dont know any one of question answer then dont worry simply say it a...
  • Q2. 2nd round is HR interview .

Interview Preparation Tips

Interview preparation tips for other job seekers - In HR interview they ask about introduction, strength and weakness , willing to work on teams or not, some scenario based question
Are these interview questions helpful?

I applied via Naukri.com and was interviewed in Oct 2020. There was 1 interview round.

Interview Questionnaire 

3 Questions

  • Q1. What is second level cache?How to implement second level cache?How to optimize sql query?what are solid principles?
  • Ans. 

    Second level cache is a caching mechanism used to improve performance by storing frequently accessed data in memory.

    • Second level cache is implemented at the application level and can be configured using frameworks like Hibernate.

    • To optimize SQL queries, one can use indexes, avoid using SELECT *, and use JOINs instead of subqueries.

    • SOLID principles are a set of design principles for writing maintainable and scalable cod...

  • Answered by AI
  • Q2. Mostly FAQ but somewhat in depth?
  • Q3. How to deploy application in aws?
  • Ans. 

    To deploy an application in AWS, you need to create an EC2 instance, configure security groups, install necessary software, and upload your application code.

    • Create an EC2 instance in the desired region and select the appropriate instance type

    • Configure security groups to allow traffic to and from the instance

    • Install necessary software and dependencies on the instance

    • Upload your application code to the instance

    • Start the ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare basic faq but in depth,Interview level is easy to medium.They will ask only theory .No practical algorithm test.

Skills evaluated in this interview

I applied via Naukri.com and was interviewed in Aug 2020. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Oops Concepts and Data Structure Questions.

Interview Preparation Tips

Interview preparation tips for other job seekers - Oops And Data Structure, Collection.

I applied via Campus Placement and was interviewed before May 2021. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

VERBAL QUANT DI/LR and Picture based test

Round 3 - Technical 

(1 Question)

  • Q1. Write a fibonaci series in c++ or C?
  • Ans. 

    Fibonacci series can be easily implemented using loops in C++ or C.

    • Declare variables for first two numbers of the series

    • Use a loop to calculate and print the next number in the series

    • Repeat the loop until desired number of terms are printed

  • Answered by AI
Round 4 - HR 

(1 Question)

  • Q1. Informed about the policies and made us sign a document

Interview Preparation Tips

Interview preparation tips for other job seekers - Just be calm and composed while answering the questions.

Skills evaluated in this interview

Infosys Interview FAQs

How many rounds are there in Infosys Dot Net Core Developer interview?
Infosys interview process usually has 2 rounds. The most common rounds in the Infosys interview process are Technical, Resume Shortlist and HR.
How to prepare for Infosys Dot Net Core 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 Infosys. The most common topics and skills that interviewers at Infosys expect are .NET, C#, ASP.NET, SQL Server and Javascript.
What are the top questions asked in Infosys Dot Net Core Developer interview?

Some of the top questions asked at the Infosys Dot Net Core Developer interview -

  1. How to returen& handle large number of records in web ...read more
  2. Why should use entity framework rather than writing sql que...read more
  3. What is dependency injection and life cycle meth...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4.3/5

based on 3 interview experiences

Difficulty level

Easy 33%
Moderate 67%

Duration

Less than 2 weeks 33%
2-4 weeks 33%
6-8 weeks 33%
View more
Join Infosys Creating the next opportunity for people, businesses & communities

Interview Questions from Similar Companies

TCS Interview Questions
3.6
 • 11.1k Interviews
Accenture Interview Questions
3.8
 • 8.7k Interviews
Wipro Interview Questions
3.7
 • 6.1k Interviews
Cognizant Interview Questions
3.7
 • 5.9k Interviews
Capgemini Interview Questions
3.7
 • 5.1k Interviews
Tech Mahindra Interview Questions
3.5
 • 4.1k Interviews
HCLTech Interview Questions
3.5
 • 4.1k Interviews
Genpact Interview Questions
3.7
 • 3.4k Interviews
LTIMindtree Interview Questions
3.7
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.5k Interviews
View all
Infosys Dot Net Core Developer Salary
based on 5 salaries
₹2.1 L/yr - ₹4.5 L/yr
10% less than the average Dot Net Core Developer Salary in India
View more details
.NET Core Developer-Gurugram

Hyderabad / Secunderabad,

Chennai

+1

6-11 Yrs

Not Disclosed

Dot NET Core Developer-Gurugram

Hyderabad / Secunderabad,

Chennai

+1

11-16 Yrs

Not Disclosed

Dot Net Core Developer - N

Hyderabad / Secunderabad,

Pune

+1

5-10 Yrs

Not Disclosed

Explore more jobs
Technology Analyst
54.7k salaries
unlock blur

₹4.8 L/yr - ₹10 L/yr

Senior Systems Engineer
53.8k salaries
unlock blur

₹2.5 L/yr - ₹6.3 L/yr

Technical Lead
35.1k salaries
unlock blur

₹9.4 L/yr - ₹16.4 L/yr

System Engineer
32.5k salaries
unlock blur

₹2.4 L/yr - ₹5.3 L/yr

Senior Associate Consultant
31.3k salaries
unlock blur

₹8.2 L/yr - ₹15 L/yr

Explore more salaries
Compare Infosys with

TCS

3.6
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare

Accenture

3.7
Compare
write
Share an Interview