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
an ai ml engineer
1w
Need help to switch
Cognizant 21 lpa, 30 min travel, no traffic. LTI mindtree 24 Ipa, 1 hour travel, lot of traffic. Infosys 26 Ipa, 30 min travel, no traffic. Optum (Third Party) REMOTE 17 LPA. My last package was 10.5 LPA with 6.6 YOE. Have already joined optum it's been 2 weeks. got other offers after that. What should I do?
Got a question about Infosys?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Walk-in and was interviewed in Jan 2020. There were 3 interview rounds.

Interview Questionnaire 

5 Questions

  • Q1. Basic structure of an HTML page
  • Ans. 

    Basic structure of an HTML page includes doctype declaration, html, head, and body tags.

    • DOCTYPE declaration specifies the HTML version

    • HTML tag wraps the entire content of the page

    • Head tag contains meta information, title, and links to external resources

    • Body tag contains the visible content of the page

  • Answered by AI
  • Q2. What is the difference between padding and margin?
  • Q3. What is Box Model?
  • Ans. 

    Box Model is a concept in CSS where every element is treated as a box with content, padding, border, and margin.

    • Box Model consists of content, padding, border, and margin.

    • Content is the actual content of the box.

    • Padding is the space between the content and the border.

    • Border is the line that goes around the padding and content.

    • Margin is the space outside the border.

  • Answered by AI
  • Q4. What are different types of directives in Angular?
  • Q5. Difference between JIT compiler and AOT?

Interview Preparation Tips

Interview preparation tips for other job seekers - Try to answer 80 % of the questions you are asked, you will be able to crack the interview

Skills evaluated in this interview

I applied via Campus Placement and was interviewed before Jan 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

Good

Round 2 - Technical 

(1 Question)

  • Q1. Basic question from C++.Some questions from Data structure and computer architecture.

Interview Preparation Tips

Topics to prepare for TCS Software Engineer interview:
  • C++
Interview preparation tips for other job seekers - Prepare well. Aptitude is not very easy so you have to prepare well.

I applied via Company Website and was interviewed before Jun 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

First round was coding as well as aptitude done together went well I guess focusing on codes helps a lot.

Round 2 - Technical 

(1 Question)

  • Q1. 2nd round included tr and mr round went quite enegritic

Interview Preparation Tips

Interview preparation tips for other job seekers - Resume skills matters a lot don't fill resume the technologies you don't even aware of

I applied via Campus Placement and was interviewed before Jul 2020. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Related to final year project and basic programming.

Interview Preparation Tips

Interview preparation tips for other job seekers - I applied for pool campus drive before covid in feb 2019. The whole interview process have done in one day.

The first round was basic aptitude and essay writing the level of difficulty is average and this is also elimination round.

The second was pseudo coding round It has mcq based programing question like arrays, looping and some data structure question.

Depending on the score in coding round they split us into two groups infra and non infra. Infra for cloud and infrastructure related roles and non-infra for programming related role.

The third round was technical Hr. The level of the interview is average he asked basic questions in c and java like inheritance, Polymorphism, encapsulates etc.. and some final project related questions.

The last round was General Hr. He is very friendly and ask about some basic hr question. More importantly know something about the company before getting into this round.

I cleared the interview and got my LOI after 2 months.

Capgemini follows the pre joining course for fresher as ADAPT. It's very useful those are from non IT background.

Clearing ADAPT is not mandatory but you need to participate.

Due to pandemic I got the offer letter on Feb 2021 and now I have completed my training and looking for project.

Are these interview questions helpful?

I applied via Campus Placement and was interviewed in Apr 2020. There was 1 interview round.

Interview Questionnaire 

2 Questions

  • Q1. Are you willing to relocate?
  • Q2. Why should I hire you?
  • Ans. 

    I bring a unique blend of skills, experience, and passion for software development that aligns perfectly with your team's goals.

    • Proven experience in developing scalable applications, such as a recent project where I improved performance by 30%.

    • Strong problem-solving skills demonstrated through my contributions to open-source projects, enhancing functionality and fixing bugs.

    • Excellent teamwork and communication abilitie...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - My technical and Hr interview done at same place. It lasted about 40minutes. The interviewer test both my technical knowledge and communication skills. I tell most of the answer. They check patience level.He stressed on my final year project . Asking about range and specification of compotents which I heve used in my project. Finally ask some HR questions.

I applied via Company Website and was interviewed before Oct 2020. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Tell me about your experience

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident adn clear when you answer

I applied via Amcat and was interviewed before Jul 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

Refer R S Agarwal book for apptitude

Round 2 - One-on-one 

(1 Question)

  • Q1. Write a c program on fractional numbers
  • Ans. 

    A C program to perform arithmetic operations on fractional numbers.

    • Use float or double data type to store fractional numbers.

    • Use scanf() to take input from the user.

    • Perform arithmetic operations like addition, subtraction, multiplication, and division.

    • Use printf() to display the result.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepared refer R S Agarwal book for apptitude test

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 C#, .NET, SQL Server, ASP.NET and .Net Core.
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
 • 11k Interviews
Accenture Interview Questions
3.8
 • 8.6k Interviews
Wipro Interview Questions
3.7
 • 6k Interviews
Cognizant Interview Questions
3.7
 • 5.9k Interviews
Capgemini Interview Questions
3.7
 • 5k Interviews
HCLTech Interview Questions
3.5
 • 4.1k Interviews
Tech Mahindra Interview Questions
3.5
 • 4.1k Interviews
Genpact Interview Questions
3.8
 • 3.4k Interviews
LTIMindtree Interview Questions
3.7
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
View all
Infosys Dot Net Core Developer Salary
based on 5 salaries
₹4 L/yr - ₹4.5 L/yr
9% less than the average Dot Net Core Developer Salary in India
View more details
.Net Core Developer

Bangalore / Bengaluru

2-6 Yrs

Not Disclosed

.net core developer - Pan india

Hyderabad / Secunderabad,

Chennai

+1

3-7 Yrs

Not Disclosed

.NET Core Developer

Pune,

Chennai

+1

3-8 Yrs

Not Disclosed

Explore more jobs
Technology Analyst
54.7k salaries
unlock blur

₹2.6 L/yr - ₹11.6 L/yr

Senior Systems Engineer
53.2k salaries
unlock blur

₹2.5 L/yr - ₹8.3 L/yr

Technical Lead
34.8k salaries
unlock blur

₹7.3 L/yr - ₹20 L/yr

System Engineer
32.4k salaries
unlock blur

₹2.4 L/yr - ₹5.3 L/yr

Senior Associate Consultant
30.7k salaries
unlock blur

₹6.3 L/yr - ₹16.9 L/yr

Explore more salaries
Compare Infosys with

TCS

3.6
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare

Accenture

3.8
Compare
write
Share an Interview