Filter interviews by
CRUD Operation, JQuery and Database using
MVC routing attribute is used for ASP.NET MVC applications, while Web API routing attribute is used for ASP.NET Web API applications.
MVC routing attribute is used for defining routes in ASP.NET MVC applications for handling requests and generating URLs.
Web API routing attribute is used for defining routes in ASP.NET Web API applications for creating RESTful APIs.
MVC routing attribute uses Route attribute, while Web API...
Top trending discussions
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 Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Extension methods allow adding new methods to existing types without modifying the original type
Extension methods are static methods that can be called as if they were instance methods of the extended type
They are defined in static classes and must be in the same namespace as the extended type
They are commonly used to add functionality to existing types or interfaces without modifying them directly
Union combines and removes duplicates, Union All combines without removing duplicates.
Union removes duplicates from the result set, while Union All does not.
Union is slower than Union All because it has to perform an additional step to remove duplicates.
Union is used when you want to combine two result sets and remove duplicates, while Union All is used when you want to combine two result sets without removing duplicat
Constructor chaining is the process of calling one constructor from another constructor within the same class.
Allows for reusing code and avoiding duplication
Can be achieved using 'this' keyword in the constructor
Example: public MyClass(int x) : this(x, 0) {}
CTE stands for Common Table Expressions, which is a temporary result set that can be referenced within a SELECT, INSERT, UPDATE, or DELETE statement.
CTEs are defined using the WITH keyword in SQL.
They help improve readability and maintainability of complex queries.
CTEs can be recursive, allowing for hierarchical data querying.
Example: WITH CTE AS (SELECT * FROM table_name) SELECT * FROM CTE;
Example: WITH RECURSIVE CTE ...
A constructor is a special method in a class that is automatically called when an object of that class is created.
Constructors have the same name as the class they belong to.
They are used to initialize the object's state.
Constructors can be parameterized or default (no parameters).
Example: public class Person { public Person(string name) { this.Name = name; } }
Use bulk insert or batch processing to send large amounts of data through the database.
Use bulk insert operations provided by the database management system.
Consider using batch processing techniques to optimize performance.
Use stored procedures or parameterized queries for efficient data transfer.
I have used the MVC (Model-View-Controller) design pattern in my project.
Separates the application into three main components: Model, View, and Controller
Promotes code reusability, modularity, and maintainability
Example: ASP.NET MVC framework
Singleton pattern ensures a class has only one instance and provides a global point of access to it.
Characteristics include private constructor, static instance variable, static method to access instance, lazy initialization, and thread safety.
Example: public class Singleton { private static Singleton instance; private Singleton() {} public static Singleton getInstance() { if (instance == null) { instance = new Singlet
Use LINQ to fetch data from the 'students' table in ascending order of 'studentid'.
Use LINQ query syntax or method syntax to retrieve data from the 'students' table.
Order the data by 'studentid' in ascending order using the 'OrderBy' or 'OrderByDescending' method.
Ensure that the LINQ query is executed against the database to fetch the data.
I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.
web.config is specific to a web application and overrides settings in Machine.config
web.config is specific to a web application, while Machine.config is at the machine level
web.config can override settings in Machine.config for a specific application
Machine.config is located in the .NET framework folder, while web.config is in the application folder
State management in .NET refers to the process of storing and retrieving data during the lifecycle of an application.
State management can be achieved using various techniques such as session state, view state, cookies, and query strings.
Session state allows storing user-specific data across multiple pages during a user session.
View state stores the state of the page and its controls between postbacks.
Cookies can be use...
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
TCS
Accenture
Infosys
Wipro