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 ASP.NET Developer Interview Questions and Answers

Updated 12 Jun 2024

12 Interview questions

An ASP.NET Developer was asked 12mo ago
Q. What are RESTful APIs?
Ans. 

RESTful APIs are a type of web service that follows the principles of REST (Representational State Transfer) architecture.

  • RESTful APIs use standard HTTP methods like GET, POST, PUT, DELETE to perform CRUD operations on resources.

  • They are stateless, meaning each request from a client to the server must contain all the information necessary to understand the request.

  • RESTful APIs typically return data in JSON or XML ...

🔥 Asked by recruiter 9 times
An ASP.NET Developer was asked 12mo ago
Q. What is dependency injection?
Ans. 

Dependency injection is a design pattern in which a class receives its dependencies from external sources rather than creating them itself.

  • Allows for better code reusability and testability

  • Promotes loose coupling between classes

  • Commonly used in ASP.NET Core for managing services and components

ASP.NET Developer Interview Questions Asked at Other Companies

asked in Cognizant
Q1. What are the concepts of Object-Oriented Programming (OOP), and c ... read more
asked in Capgemini
Q2. All opps concept. What is constructor?, what is delegets? What is ... read more
Q3. What is the difference between a primary key and a unique key?
Q4. For MVC what is model controller view, What is ActionResults,
Q5. What is the flow of an MVC application?
An ASP.NET Developer was asked 12mo ago
Q. What are stored procedures?
Ans. 

Stored procedures are precompiled SQL queries stored in a database for reuse.

  • Stored procedures are used to improve performance by reducing the need to send multiple queries to the database server.

  • They can be parameterized to accept input values and return results.

  • Stored procedures can contain logic and business rules, making them reusable and secure.

  • Examples include procedures for inserting, updating, and deleting...

An ASP.NET Developer was asked 12mo ago
Q. Explain the Startup file.
Ans. 

Startup file is a configuration file in ASP.NET that specifies settings and behavior for the application.

  • Startup file is typically named 'Startup.cs' in ASP.NET Core projects.

  • It contains configuration for services, middleware, and the request processing pipeline.

  • The 'ConfigureServices' method is used to add services to the dependency injection container.

  • The 'Configure' method is used to configure the HTTP request ...

An ASP.NET Developer was asked 12mo ago
Q. Why do we use Sealed classes?
Ans. 

Sealed class is used to prevent inheritance and ensure that the class cannot be extended.

  • Prevents inheritance, ensuring that the class cannot be extended

  • Helps in maintaining code integrity and security

  • Used when a class is not intended to be inherited or overridden

An ASP.NET Developer was asked 12mo ago
Q. What are the different types of constructors?
Ans. 

Types of constructors include default, parameterized, copy, and static constructors.

  • Default constructor has no parameters

  • Parameterized constructor takes one or more parameters

  • Copy constructor creates a new object as a copy of an existing object

  • Static constructor is used to initialize static data members

🔥 Asked by recruiter 5 times
An ASP.NET Developer was asked 12mo ago
Q. Explain the SOLID principles.
Ans. 

SOLID principles are a set of five design principles that help developers create more maintainable and scalable software.

  • S - Single Responsibility Principle: A class should have only one reason to change.

  • O - Open/Closed Principle: Software entities should be open for extension but closed for modification.

  • L - Liskov Substitution Principle: Objects of a superclass should be replaceable with objects of its subclasses...

Are these interview questions helpful?
An ASP.NET Developer was asked 12mo ago
Q. What is the difference between transient and scoped services?
Ans. 

Transient objects are created each time they are requested, while scoped objects are created once per request.

  • Transient objects are created every time they are requested, leading to potentially higher memory usage.

  • Scoped objects are created once per request and are shared within the scope of that request.

  • Example: Transient objects are typically used for lightweight services, while scoped objects are used for servi...

An ASP.NET Developer was asked 12mo ago
Q. Explain API lifetimes.
Ans. 

API lifetimes refer to the duration for which an API is available and supported.

  • API lifetimes can vary depending on the service provider or platform.

  • Some APIs may have a limited lifetime and be deprecated after a certain period.

  • Developers should be aware of API lifetimes to plan for potential changes or updates.

  • Regularly check for updates or announcements regarding API lifetimes to stay informed.

An ASP.NET Developer was asked
Q. What is view state?
Ans. 

View state is a hidden field on an ASP.NET web page that stores state information.

  • View state is used to persist page and control state across postbacks.

  • It is stored as a hidden field on the page and is encrypted by default.

  • View state can be disabled to improve performance, but it may lead to loss of state information.

Infosys ASP.NET Developer Interview Experiences

6 interviews found

Interview experience
1
Bad
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(8 Questions)

  • Q1. Explain solid principle
  • Ans. 

    SOLID principles are a set of five design principles that help developers create more maintainable and scalable software.

    • S - Single Responsibility Principle: A class should have only one reason to change.

    • O - Open/Closed Principle: Software entities should be open for extension but closed for modification.

    • L - Liskov Substitution Principle: Objects of a superclass should be replaceable with objects of its subclasses with...

  • Answered by AI
  • Q2. Why we use Sealed class
  • Ans. 

    Sealed class is used to prevent inheritance and ensure that the class cannot be extended.

    • Prevents inheritance, ensuring that the class cannot be extended

    • Helps in maintaining code integrity and security

    • Used when a class is not intended to be inherited or overridden

  • Answered by AI
  • Q3. Types of constructor
  • Ans. 

    Types of constructors include default, parameterized, copy, and static constructors.

    • Default constructor has no parameters

    • Parameterized constructor takes one or more parameters

    • Copy constructor creates a new object as a copy of an existing object

    • Static constructor is used to initialize static data members

  • Answered by AI
  • Q4. . net core features?
  • Ans. 

    ASP.NET Core is a cross-platform, high-performance framework for building modern, cloud-based, internet-connected applications.

    • Cross-platform support allows development on Windows, macOS, and Linux

    • High performance with improved speed and scalability

    • Modular design for flexibility and easy maintenance

    • Built-in dependency injection for better code organization

    • Support for Docker containers for easy deployment

  • Answered by AI
  • Q5. Explain Startup file?
  • Ans. 

    Startup file is a configuration file in ASP.NET that specifies settings and behavior for the application.

    • Startup file is typically named 'Startup.cs' in ASP.NET Core projects.

    • It contains configuration for services, middleware, and the request processing pipeline.

    • The 'ConfigureServices' method is used to add services to the dependency injection container.

    • The 'Configure' method is used to configure the HTTP request pipel...

  • Answered by AI
  • Q6. Dependency injection
  • Q7. Explain Api lifetimes
  • Ans. 

    API lifetimes refer to the duration for which an API is available and supported.

    • API lifetimes can vary depending on the service provider or platform.

    • Some APIs may have a limited lifetime and be deprecated after a certain period.

    • Developers should be aware of API lifetimes to plan for potential changes or updates.

    • Regularly check for updates or announcements regarding API lifetimes to stay informed.

  • Answered by AI
  • Q8. Diffrent between transient vs scope
  • Ans. 

    Transient objects are created each time they are requested, while scoped objects are created once per request.

    • Transient objects are created every time they are requested, leading to potentially higher memory usage.

    • Scoped objects are created once per request and are shared within the scope of that request.

    • Example: Transient objects are typically used for lightweight services, while scoped objects are used for services t...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Infosys talent acquisition team is not responding once interview completed.

Skills evaluated in this interview

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

I applied via Company Website and was interviewed in May 2024. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. What is dependency injection
  • Ans. 

    Dependency injection is a design pattern in which a class receives its dependencies from external sources rather than creating them itself.

    • Allows for better code reusability and testability

    • Promotes loose coupling between classes

    • Commonly used in ASP.NET Core for managing services and components

  • Answered by AI
  • Q2. View, primary key, unique key
Round 2 - Technical 

(2 Questions)

  • Q1. What are restful api's
  • Ans. 

    RESTful APIs are a type of web service that follows the principles of REST (Representational State Transfer) architecture.

    • RESTful APIs use standard HTTP methods like GET, POST, PUT, DELETE to perform CRUD operations on resources.

    • They are stateless, meaning each request from a client to the server must contain all the information necessary to understand the request.

    • RESTful APIs typically return data in JSON or XML forma...

  • Answered by AI
  • Q2. What are stored procedures
  • Ans. 

    Stored procedures are precompiled SQL queries stored in a database for reuse.

    • Stored procedures are used to improve performance by reducing the need to send multiple queries to the database server.

    • They can be parameterized to accept input values and return results.

    • Stored procedures can contain logic and business rules, making them reusable and secure.

    • Examples include procedures for inserting, updating, and deleting data...

  • Answered by AI

Skills evaluated in this interview

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

I applied via Recruitment Consulltant and was interviewed in Apr 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. What is view state?
  • Ans. 

    View state is a hidden field on an ASP.NET web page that stores state information.

    • View state is used to persist page and control state across postbacks.

    • It is stored as a hidden field on the page and is encrypted by default.

    • View state can be disabled to improve performance, but it may lead to loss of state information.

  • Answered by AI
  • Q2. Different view state in asp.net ?
  • Ans. 

    View state is used to persist the state of a web form across postbacks in ASP.NET.

    • View state can be enabled or disabled at the page level or control level.

    • Different types of view state include enabled, disabled, and encrypted.

    • View state can be used to store values of controls on a web form between postbacks.

  • Answered by AI

Skills evaluated in this interview

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

I applied via Noukari.com and was interviewed in Feb 2024. There were 3 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. What was your role in your last project
  • Ans. 

    In my last project, I served as a lead ASP.NET developer, overseeing the development and implementation of a web application.

    • Led a team of 5 developers in creating a robust e-commerce platform using ASP.NET Core.

    • Implemented RESTful APIs for seamless integration with third-party services, enhancing functionality.

    • Conducted code reviews and provided mentorship to junior developers, improving code quality and team skills.

    • C...

  • Answered by AI
Round 2 - Coding Test 

Basic Opps and technical questions related to ASP.Net Core

Round 3 - Technical 

(1 Question)

  • Q1. Agile methodologies

I applied via Infosys and was interviewed in Sep 2022. 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 

(2 Questions)

  • Q1. Oops, Concepts, ADO.Net
  • Q2. Explain MVC models and Action Listeners.
  • Ans. 

    MVC models are a design pattern for web applications. Action Listeners are used to handle user input.

    • MVC stands for Model-View-Controller

    • Model represents the data and business logic

    • View is the user interface

    • Controller handles user input and updates the model and view

    • Action Listeners are used in GUI programming to handle user input events

    • For example, a button click can trigger an Action Listener to perform a specific ac...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be ready to face questions for the following topics, C# oops, ADO.NET and ASP.Net, your projects.

Skills evaluated in this interview

I applied via Naukri.com and was interviewed in Jan 2022. 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 - Technical 

(1 Question)

  • Q1. Project discussion with previous company ,oops concepts questions, inheritance, interface, polymorphism, abstract calss,ado.net questions, dataset data table, data adopter,executenonquery,executescaler,etc...
Round 3 - HR 

(2 Questions)

  • Q1. What are your salary expectations?
  • Q2. Share details of your previous job.
Round 4 - HR 

(3 Questions)

  • Q1. What are your salary expectations?
  • Q2. Tell me about yourself.
  • Q3. Share details of your previous job.

Interview Preparation Tips

Interview preparation tips for other job seekers - This interview is very good, am very happy. i would like to thank you for naukri.com

What people are saying about Infosys

View All
yedabhai
5d
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

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

Round 1 - Aptitude Test 

Easy logical questions
basic quant

Round 2 - Coding Test 

Easy level coding questions
Counting frequency of alphabets

Interview Preparation Tips

Interview preparation tips for other job seekers - Just go through the basics of javascript
Hoisting
Are these interview questions helpful?

Interview Questionnaire 

1 Question

  • Q1. How to use multiple dispatch in redux?
  • Ans. 

    Multiple dispatch is not a feature of Redux. It can be achieved using middleware or custom logic.

    • Middleware like redux-thunk or redux-saga can be used to dispatch multiple actions based on a single action.

    • Custom logic can be implemented in the reducer to handle multiple actions based on a single action type.

    • For example, a single 'ADD_ITEM' action can trigger multiple actions like 'UPDATE_TOTAL', 'UPDATE_HISTORY', etc.

    • M...

  • Answered by AI

Skills evaluated in this interview

I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Simple program
  • Q2. I wrote a simple program in C

Interview Preparation Tips

Interview preparation tips for other job seekers - Be bold and confident

I applied via Naukri.com and was interviewed before Oct 2019. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. What technical challenges have you faced in your work till now and how did you overcome it?
  • Ans. 

    Faced various technical challenges, including system integration and performance optimization, which I successfully navigated through strategic solutions.

    • Integration of legacy systems with modern applications: I utilized APIs and middleware to ensure seamless data flow.

    • Performance bottlenecks in a web application: Implemented caching strategies and optimized database queries, resulting in a 40% speed increase.

    • Debugging...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be truthful and give detailed explanation of the issues and how it was resolved. Explain the severity of the problem and what blockage it had caused in your daily work. How did you chose a solution and how fast was it implemented.

Infosys Interview FAQs

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

Some of the top questions asked at the Infosys ASP.NET Developer interview -

  1. different view state in asp.ne...read more
  2. what are restful ap...read more
  3. Why we use Sealed cl...read more
What are the most common questions asked in Infosys ASP.NET Developer HR round?

The most common HR questions asked in Infosys ASP.NET Developer interview are -

  1. What are your salary expectatio...read more
  2. Share details of your previous j...read more
  3. Tell me about yourse...read more

Tell us how to improve this page.

Overall Interview Experience Rating

3/5

based on 4 interview experiences

Difficulty level

Easy 67%
Moderate 33%

Duration

Less than 2 weeks 67%
2-4 weeks 33%
View more
Join Infosys Creating the next opportunity for people, businesses & communities
Infosys ASP.NET Developer Salary
based on 20 salaries
₹2.8 L/yr - ₹8 L/yr
At par with the average ASP.NET Developer Salary in India
View more details

Infosys ASP.NET Developer Reviews and Ratings

based on 3 reviews

4.2/5

Rating in categories

4.0

Skill development

4.0

Work-life balance

4.1

Salary

4.1

Job security

4.2

Company culture

4.0

Promotions

4.0

Work satisfaction

Explore 3 Reviews and Ratings
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.5 L/yr

Senior Associate Consultant
31.2k 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