i
Infosys
Filter interviews by
I applied via Approached by Company and was interviewed in Jan 2024. There was 1 interview round.
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...
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...
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 ...
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 ...
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.
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
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...
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
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...
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...
I applied via Naukri.com and was interviewed in Sep 2023. There was 1 interview round.
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
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 ...
I applied via Job Portal and was interviewed in Aug 2022. There were 3 interview rounds.
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.
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
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
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...
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
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
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...
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...
What people are saying about Infosys
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
posted on 9 Jan 2025
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
I applied via Walk-in
There are various types of constraints in DOT NET development, including primary key, foreign key, unique, check, and default constraints.
Primary key constraints ensure each record in a table is unique.
Foreign key constraints enforce referential integrity between tables.
Unique constraints ensure that all values in a column are distinct.
Check constraints validate the data before it is inserted or updated.
Default constra...
Independent class can be instantiated while abstract class cannot be instantiated directly.
Independent class can be directly instantiated using the 'new' keyword.
Abstract class cannot be instantiated directly, it can only be used as a base class for other classes.
Independent class does not require any derived class to implement its members.
Abstract class can have abstract methods that must be implemented by derived cla
Seeking new challenges, growth opportunities, and a better work-life balance.
Looking for new challenges and opportunities to learn and grow.
Seeking a better work-life balance.
Interested in working with new technologies or in a different industry.
Wanting to advance my career and take on more responsibilities.
Company restructuring or changes in management.
I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.
Write prime number code
I applied via Recruitment Consulltant and was interviewed in Aug 2024. There was 1 interview round.
Logic App logs are stored in Azure Monitor Logs (formerly known as Log Analytics).
Logic App logs are stored in Azure Monitor Logs, which is a centralized log storage and analytics service in Azure.
Logs can be viewed and analyzed using Azure Monitor Logs queries.
Logs can also be integrated with other Azure services for monitoring and alerting purposes.
Use the OFFSET and FETCH clauses in SQL to get the 5th top position data.
Use the ORDER BY clause to sort the data in descending order.
Use the OFFSET clause to skip the first 4 rows.
Use the FETCH clause to retrieve only the next row after skipping the first 4 rows.
Custom middleware in .NET Core can be implemented by creating a class that implements the IMiddleware interface and adding it to the application pipeline.
Create a class that implements the IMiddleware interface
Implement the InvokeAsync method in the middleware class to handle the request processing logic
Add the custom middleware to the application pipeline in the Configure method of the Startup class
Authentication verifies the identity of a user, while authorization determines what resources a user can access.
Authentication confirms the identity of a user through credentials like username and password.
Authorization determines the permissions and access levels of a user based on their authenticated identity.
In ASP.NET Core, authentication is handled through middleware like Identity, OAuth, or JWT tokens.
Authorizati...
Session management in ASP.NET Core involves storing and retrieving user-specific data during a user's visit to a website.
Session data is stored on the server side by default in ASP.NET Core
Session data can be accessed and manipulated using the HttpContext.Session property
Session data can be configured to use different storage providers such as in-memory, distributed cache, or SQL Server
Session data is typically used to...
I applied via Job Portal and was interviewed in Nov 2024. There were 2 interview rounds.
I would like simple test
Technology Analyst
56.2k
salaries
| ₹3 L/yr - ₹11 L/yr |
Senior Systems Engineer
49.4k
salaries
| ₹2.8 L/yr - ₹9.2 L/yr |
System Engineer
38.9k
salaries
| ₹2.5 L/yr - ₹5.5 L/yr |
Technical Lead
30.6k
salaries
| ₹5.2 L/yr - ₹19.4 L/yr |
Senior Associate Consultant
27.1k
salaries
| ₹4.3 L/yr - ₹16.8 L/yr |
TCS
Wipro
Cognizant
Accenture