Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can we add constraints to the route? If yes, explain how we can do it?

1275


What is objectcontext? : Entity framework

1158


Explain the 'page lifecycle' of an ASP.NET MVC?

1188


What is the use of the default route?

1104


What is the difference between windows vista and .net framework 3.0 ?

1052


what is entityclient?

1178


Explain Bundle.Config in ASP.Net MVC4?

1058


mention what is code first approach and model first approach in entity framework?

1174


Is .net core replacing .net framework?

1030


What is .net core framework?

1052


What are the components required to create a route in mvc?

1137


What is rxjava used for?

1178


Difference between ASP.NET MVC and ASP.NET WebForms?

1118


If I have multiple filters implemented, what is the order in which these filters get executed?

977


Is it possible to create a custom filter?

1042