how to maintain the session state?
what is Abstract class and interface and inheritence with
example?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / prabhat
session are maintain on the server,session are created for
the individual user,the data are stored in the session
butare secured,
all methods are abstract method in the interface,and we can
not use any modifier before method in interface calsses.
Abstact class having abstract method as well as user defind
method,
| Is This Answer Correct ? | 0 Yes | 2 No |
Can we look at the IL for an assembly?
What is entity graph? : Entity framework
List the new features added in .net framework 4.0.
If you change something in web.config file.Do u need to compile again?
5 Answers Broadridge, SMNetserv,
What are html helpers in asp.net mvc?
What is edm in entity framework?
Can I add asp.net mvc testcases in visual studio express?
how do you mark a property as required? For example, for a project, the name is a required field.
what is csdl?
what is entityclient?
What is the use of JIT
What is the greatest advantage of using asp.net mvc over asp.net webforms?