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

How to use multiple submit buttons in asp.net mvc?

0 Answers  


What is conceptual model? : Entity framework

0 Answers  


Requirement is: try { \\SQL Query } catch(Exception i) { print a } catch(SQLQueryException e) { \\SQL Query } Qu)I Got Exception in "try" block. Which "catch" statement (i.e. 1st catch or 2nd catch ) catches the exception and Why???

6 Answers   3i Infotech,


What is CLR and how it generates native code ?

1 Answers   Digital GlobalSoft, Vital Soft,


VIEWS WITH SYNTAX AND EXAMPLE IN SQL

1 Answers  


Do I need microsoft .net framework?

0 Answers  


Hi my name is sahil. i did my bsc in 2008 n did marketing jobs thereafter. bt nw i wanna learn .net to enter IT field. Ive heard deccansoft,secbad is the best inst. for .net. bt do they provide placement?? as im not a fresher so will i be hired by any company..??

1 Answers  


How do I define my own code group

1 Answers  


what is mean by type-safe? Please answer me. Advance thanks.

0 Answers   Excel,


What is presentation framework?

0 Answers  


What are non action methods in mvc?

0 Answers  


What is the difference between adding routes, to a webforms application and to an mvc application?

0 Answers  


Categories