how to maintain the session state?
what is Abstract class and interface and inheritence with
example?
Answer Posted / anitha
Session object can be used for storing session-specific
information that needs to be maintained between server
round trips and between requests for pages.various modes of
storing ASP.NET session is:InProc,StateServer,and SQL
SERVER state.
Abstract classes provide a simple and easy way to
version your components. By updating the base class, all
inheriting classes are automatically updated with the
change. Interfaces, on the other hand, cannot be changed
once created. If a new version of an interface is required,
you must create a whole new interface.
If we want to provide common, implemented
functionality among all implementations of your component,
use an abstract class. Abstract classes allow you to
partially implement your class, whereas interfaces contain
no implementation for any members.
Inheritance is getting properties from parent class
to child class.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What you mean by routing in mvc?
What is managed extensibility framework?
What are Validation Annotations?
What is the meaning of unobtrusive javascript? Explain us by any practical example.
what is complex type?
Asp.net mvc application, makes use of settings at 2 places for routing to work correctly. What are these 2 places?
Where are the routing rules defined in an asp.net mvc application?
mention what are the various methods provided by the dataset object to generate xml?
How we can add the CSS in ASP.Net MVC?
What are Model Binders in ASP.Net MVC?
Explain what is the difference between view and partial view?
Can you explain the page life cycle of mvc?
What is the difference between model and entity?
What are the components required to create a route in mvc?
What is the use of viewmodel in mvc?