Capgemini
Odessa Interview Questions and Answers
Q1. All opps concept. What is constructor?, what is delegets? What is inheritance? What is abtract class.?
Explanation of OOP concepts like constructor, delegates, inheritance, and abstract class.
Constructor is a special method that is called when an object is created.
Delegates are type-safe function pointers used to reference methods.
Inheritance is a mechanism that allows a class to inherit properties and methods from another class.
Abstract class is a class that cannot be instantiated and is used as a base class for other classes.
Q2. What are the action listens. explain action filter
Action filters are used to perform additional processing before or after an action method executes.
Action filters are attributes that can be applied to an action method or controller.
They can be used to perform authentication, logging, caching, and other tasks.
Action filters can be used to modify the result of an action method.
There are four types of action filters: Authorization filters, Action filters, Result filters, and Exception filters.
Q3. Explain MVC . Model view control
MVC is a software architecture pattern that separates an application into three interconnected components: Model, View, and Controller.
Model represents the data and business logic of the application
View is responsible for rendering the user interface
Controller handles user input and updates the model and view accordingly
Q4. What is output cache
Output cache stores the output of a page or user control so that it can be quickly retrieved for subsequent requests.
Output cache is used to improve the performance of web applications.
It reduces the number of requests made to the server by storing the output of a page or user control.
Output cache can be set at the page level or at the application level.
It can be configured to expire after a certain amount of time or when certain conditions are met.
Output cache can be used to...read more
Q5. write linq query
LINQ query to retrieve data from a collection
Use 'from' to specify the data source
Use 'where' to filter the data
Use 'select' to define the shape of the result
Example: var result = from item in collection where item.Property == value select item;
Q6. SOILD principle
SOLID is a set of five principles for writing clean, maintainable, and scalable object-oriented code.
Single Responsibility Principle (SRP) - A class should have only one reason to change.
Open/Closed Principle (OCP) - Classes should be open for extension but closed for modification.
Liskov Substitution Principle (LSP) - Objects of a superclass should be replaceable with objects of its subclasses without affecting the program's correctness.
Interface Segregation Principle (ISP) -...read more
More about working at Capgemini
Top ASP.NET Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month