Filter interviews by
I applied via LinkedIn and was interviewed before Sep 2023. There was 1 interview round.
OpenID is an authentication protocol, OpenID Connect is an authentication layer on top of OAuth 2.0, and OAuth is an authorization framework.
OpenID is an authentication protocol used for single sign-on.
OpenID Connect is an authentication layer on top of OAuth 2.0, providing additional features like user info and ID token.
OAuth is an authorization framework used for granting access to resources without sharing credentia
JWT Token implementation in WEB API involves generating token, validating token, and securing API endpoints.
Generate JWT token using a secret key
Validate JWT token in API requests
Secure API endpoints by checking JWT token in request headers
Error logging in .NET Core allows developers to track and troubleshoot issues in their applications.
Use ILogger interface for logging in .NET Core
Configure logging in appsettings.json file
Use different log levels like Information, Warning, Error, etc.
Implement logging providers like Console, Debug, EventSource, etc.
Use input validation, output encoding, and secure coding practices to prevent XSS attacks in .NET applications.
Implement input validation to ensure that user input meets expected criteria
Use output encoding to encode user input before displaying it on the web page
Avoid using innerHTML to manipulate the DOM as it can introduce XSS vulnerabilities
Utilize AntiXSS library provided by Microsoft to sanitize user input
Impleme...
Top trending discussions
I applied via LinkedIn and was interviewed in Dec 2024. There were 2 interview rounds.
I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.
posted on 5 Sep 2024
Exception handling is a mechanism to handle runtime errors in a program.
Exception handling helps in gracefully handling unexpected errors in a program.
It prevents the program from crashing and allows for proper error logging and recovery.
Commonly used keywords in exception handling are try, catch, finally, and throw.
Example: try { // code that may throw an exception } catch(Exception ex) { // handle the exception }
Abstract classes can have implementation details while interfaces cannot.
Abstract classes can have both abstract and non-abstract methods, while interfaces can only have abstract methods.
A class can only inherit from one abstract class, but can implement multiple interfaces.
Abstract classes can have constructors, fields, and properties, while interfaces cannot.
Abstract classes are used when some common functionality ne...
I will handle the team by setting clear expectations, delegating tasks effectively, monitoring progress, and providing support as needed.
Set clear goals and deadlines for the team to ensure everyone is on the same page
Delegate tasks based on team members' strengths and workload
Regularly check in with team members to monitor progress and offer assistance if needed
Adjust deadlines or redistribute tasks as necessary to me...
I applied via Approached by Company and was interviewed in Oct 2023. There were 2 interview rounds.
Abstract class is used when there is a need for default implementation, while interfaces are used for multiple inheritance.
Abstract classes can have both abstract and non-abstract methods, while interfaces can only have abstract methods.
Abstract classes can provide default implementations for methods, while interfaces cannot.
Interfaces allow a class to implement multiple interfaces, but can only inherit from one abstra...
NET core is a cross-platform, open-source framework for building modern, cloud-based, internet-connected applications. NET framework is a Windows-only framework for building Windows desktop applications. NET is a general term encompassing both .NET core and .NET framework.
NET core is cross-platform and open-source, while .NET framework is Windows-only.
.NET core is modular and lightweight, allowing for faster performanc...
Pipelines and Middlewares in .NET are used for request processing and can be configured using middleware components.
Pipelines in .NET are used to define a series of middleware components that process an HTTP request.
Middlewares are components that can handle requests and responses in the pipeline.
To configure pipelines and middlewares in .NET, you can use the 'UseMiddleware' method in the 'Configure' method of the Star...
App.Use() is used for adding middleware to the request pipeline, while App.Run() is used for handling the request directly.
App.Use() is used to add middleware components to the request pipeline.
App.Run() is used to handle the request directly without passing it to the next middleware component.
App.Use() is typically used for setting up middleware like authentication, logging, etc.
App.Run() is used for handling the fina...
String is immutable, while StringBuilder is mutable. StringBuilder is faster and more memory efficient for string manipulation.
String is immutable, meaning once created, it cannot be changed. StringBuilder is mutable, allowing for efficient string manipulation.
StringBuilder is faster than String for concatenating multiple strings, as it does not create a new string object each time.
String uses more memory as it creates...
Unique, Primary Key, Clustered, and Non-Clustered Indices are all used in database management to enforce data integrity and improve query performance.
Unique constraint ensures that all values in a column are unique, but allows NULL values.
Primary Key constraint ensures that all values in a column are unique and not NULL. Each table can have only one Primary Key.
Clustered Index physically reorders the way records in the...
JWT authentication and OAuth example for API
Implement JWT authentication by generating a token upon user login and including it in the Authorization header of API requests
Use OAuth for user authorization by obtaining access tokens from a third-party provider like Google or Facebook
Ensure API endpoints validate JWT tokens and OAuth access tokens before allowing access to resources
Both $.post and $.ajax are methods in jQuery used for making AJAX requests, but $.ajax is more versatile and customizable.
Both $.post and $.ajax are used for making AJAX requests in jQuery.
$.post is a shorthand method for $.ajax with predefined settings for POST requests.
$.ajax is more versatile and customizable, allowing for different types of requests and more options.
Example: $.post('example.php', {data: 'example'},...
I was interviewed in Aug 2024.
Code for prime numbers
based on 1 interview
Interview experience
Network Engineer
167
salaries
| ₹1.6 L/yr - ₹6.5 L/yr |
Desktop Support Engineer
120
salaries
| ₹1 L/yr - ₹4.2 L/yr |
Software Developer
117
salaries
| ₹3 L/yr - ₹9.6 L/yr |
Software Engineer
44
salaries
| ₹3 L/yr - ₹10 L/yr |
Network Support Engineer
44
salaries
| ₹1.5 L/yr - ₹3.8 L/yr |
Tech Mahindra
HCLTech
TCS
Wipro