Filter interviews by
Value can be transferred from controller to view in .NET using ViewBag, ViewData, and Model.
ViewBag is a dynamic object that can be used to transfer data from controller to view.
ViewData is a dictionary object that can be used to transfer data from controller to view.
Model is a strongly typed object that can be used to transfer data from controller to view.
Example: ViewBag.Message = "Hello World!";
Example: ViewData["Me...
Entity Framework is an ORM that maps database tables to classes and provides CRUD operations.
EF generates SQL queries to interact with the database
It supports LINQ queries for data retrieval
It provides automatic change tracking and transaction management
It supports code-first and database-first approaches
It can be used with various database providers such as SQL Server, MySQL, and Oracle
An abstract class is a class that cannot be instantiated and is used as a base class for other classes.
An abstract class can have abstract and non-abstract methods.
Abstract methods have no implementation and must be implemented by the derived class.
An abstract class can have constructors and fields.
An abstract class can be used to define a common interface for a group of related classes.
Example: Animal is an abstract c...
Top trending discussions
I was interviewed in Jan 2025.
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 Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
Repository design pattern is a design pattern that separates the data access logic from the business logic in an application.
It helps in achieving separation of concerns by isolating the data access code in a separate layer.
It provides a centralized way to access data from various sources such as databases, web services, etc.
It makes the codebase more maintainable and testable by abstracting the data access logic.
Examp...
IEnumerable is used for in-memory collection operations, while IQueryable is used for database query operations.
IEnumerable is used for querying data from in-memory collections like arrays, lists, etc.
IQueryable is used for querying data from a database using LINQ to SQL or Entity Framework.
IEnumerable executes the query in-memory, while IQueryable executes the query on the database server.
IEnumerable is suitable for L...
I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.
Write prime number code
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 Jul 2024. There was 1 interview round.
The .NET application code is compiled into Intermediate Language (IL) which is then executed by the Common Language Runtime (CLR).
Code is compiled into Intermediate Language (IL) by the compiler
IL is then converted into machine code by the Just-In-Time (JIT) compiler
The CLR manages memory, security, and other system resources during code execution
Stored procedures are precompiled SQL queries that can perform multiple operations, while functions are reusable code blocks that return a single value.
Stored procedures can execute multiple SQL statements and can perform complex operations.
Functions are reusable code blocks that return a single value and can be used in SQL queries.
Stored procedures can be called independently, while functions are typically called with...
CLR stands for Common Language Runtime, it is used to manage the execution of .NET programs.
CLR is a part of the .NET framework responsible for managing the execution of .NET programs.
It provides services such as memory management, exception handling, and security.
CLR converts the Intermediate Language (IL) code into machine code during runtime.
It allows for language interoperability, meaning different languages can be...
GC stands for Garbage Collection, a process in .NET to automatically manage memory by reclaiming unused objects.
GC is a feature in .NET that automatically manages memory by reclaiming unused objects.
It helps in preventing memory leaks and improving application performance.
GC can be used in .NET applications to free up memory occupied by objects that are no longer needed.
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
ASP.NET MVC Developer
3
salaries
| ₹2.4 L/yr - ₹3 L/yr |
TCS
Accenture
Wipro
Cognizant