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 |
Does Tempdata hold the data for other request in ASP.Net MVC?
How do I define my own code group
What is reflection?
5 Answers Accenture, Merrill Lynch, Microsoft,
Possible ways to prevent xss attacks on mvc application?
Is razor a server side?
What is entity framework used for?
how can you enhance the performance of entity framework?
How will you load dynamic assembly? How will create assemblies at run time?
What is Differnce between html.action and ajax.action?
If Controller is not there in MVC Pattern what happens?
What is representational state transfer (rest) mean?
How would you deploy your old applications with .net framework 4.0? Are the old applications compatible?