how to maintain the session state?
what is Abstract class and interface and inheritence with
example?

Answers were Sorted based on User's Feedback



how to maintain the session state? what is Abstract class and interface and inheritence with exam..

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

how to maintain the session state? what is Abstract class and interface and inheritence with exam..

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

Post New Answer

More Dot Net Framework Interview Questions

Can we look at the IL for an assembly?

2 Answers  


What is .net architecture?

0 Answers  


i just want to write an exam regarding .net?plz give me information about taking a test?where to pay 4 d exam,exam centre?

0 Answers  


Why do I get errors when I try to serialize a Hashtable

1 Answers  


what is msl?

0 Answers   Microsoft,


What is entitycontainer? : Entity framework

0 Answers  


How we can add the css in mvc?

0 Answers  


What is the meaning of unobtrusive javascript?

0 Answers  


Can we free memory explicitly without waiting for garbage collector to free the memory in .net compact framework?

0 Answers  


What is the advantage of using asp.net routing?

0 Answers  


What is GC (Garbage Collection) and how it works

1 Answers  


What are bundling & minification features in asp.net mvc 4?

0 Answers  


Categories