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
Can we add constraints to the route? If yes, explain how we can do it?
How can you return string result from Action in ASP.Net MVC?
What are the main features of asp.net mvc 4 used by asp.net web api?
What “beforFilter()”,“beforeRender” and “afterFilter” functions do in Controller?
What is mapping in entity framework? : Entity framework
why DotNetFramework is included in building a software
If I have multiple filters implemented, what is the order in which these filters get executed?
What is stateless model?
What is the .net framework 3.0 (formerly winfx)?
What is Dependency Injection in ASP.Net MVC
Describe the .net framework architecture.
How we can multiple submit buttons in ASP.Net MVC
What are ajax helpers in asp.net mvc?
What is an asynchronous controller in asp.net mvc?
Explain the new features 3.5 framework against with the tool?