<< < 30 31 32 33 34 35 36 37 38 39 40 > >>   Sort: Rank

What is a Interface
What is a Interface ? Interface is a contract that defines the signature of the functionality. So if a class is implementing a interface it says to the outer world, that it provides specific behavior. Example if a class is implementing Idisposable interface that means it has a functionality to relea...
2007-10-23, 5355👍, 0💬

What are abstract classes
What are abstract classes ? Following are features of a abstract class :- ã You can not create a object of abstract class ã Abstract class is designed to act as a base class (to be inherited by other classes). Abstract class is a design concept in program development and provides a base upon whic...
2007-10-23, 5181👍, 0💬

How can we acheive inheritance in VB.NET
How can we acheive inheritance in VB.NET ? Inheritance is achieved by using “Inherits” keyword in VB.NET (For C# it is “:”). Simple Sample is provided in CD for understanding inheritance in folder “WindowsApplicationInheritance ”.There are two classes one is the parent “ClsParent” and second is t...
2007-10-23, 5266👍, 0💬

Class hierarchies (Inheritance and aggregation
What is difference between Association, Aggregation and Inheritance relationships? In object oriented world objects have relation and hierarchies in between them. There are basically three kind of relationship in Object Oriented world :- Association This is the simplest relationship between objects....
2007-10-23, 7253👍, 0💬

Can you explain different properties of Object Oriented Systems
What are different properties provided by Objectoriented systems ? Following are characteristic’s of Object Oriented System’s :- Abstraction It allows complex real world to be represented in simplified manner. Example color is abstracted to RGB. By just making the combination of these three colors w...
2007-10-23, 6793👍, 0💬

What is the relation between Classes and Objects
What is the relation between Classes and Objects ? They look very much same but are not same. Class is a definition, while object is a instance of the class created. Class is a blue print while objects are actual objects existing in real world. Example we have class CAR which has attributes and meth...
2007-10-23, 4892👍, 0💬

What’s an Object
What’s an Object ? It is a basic unit of a system. An object is an entity that has attributes, behavior, and identity. Objects are members of a class. Attributes and behavior of an object are defined by the class definition.
2007-10-23, 4927👍, 0💬

What’s a Class
What’s a Class ? A class describes all the attributes of objects, as well as the methods that implement the behavior of member objects. It’s a comprehensive data type which represents a blue print of objects. It’s a template of object.
2007-10-23, 4485👍, 0💬

What is Object Oriented Programming
What is Object Oriented Programming ? It is a problem solving technique to develop software systems. It is a technique to think real world in terms of objects. Object maps the software model to real world concept. These objects have responsibilities and provide services to application or other objec...
2007-10-23, 4639👍, 0💬

Why do we need methods to be static for Post Cache substitution
Why do we need methods to be static for Post Cache substitution? ASP.NET should be able to call this method even when there isn't an instance of your page class available. When your page is served from the cache, the page object isn't created. So ASP.NET skips the page life cycle when the page is co...
2007-10-23, 4753👍, 0💬

What is Post Cache substitution
What is Post Cache substitution? Post cache substitution is used when we want to cache the whole page but also need some dynamic region inside that cached page. Some examples like QuoteoftheDay, RandomPhotos, and AdRotator etc. are examples where we can implement Post Cache Substitution. Post-cache ...
2007-10-23, 5883👍, 0💬

Enable ASP.NET polling using “web.config” file
Enable ASP.NET polling using “web.config” file Now that all our database side is configured in order to get the SQL Cache working in the ASP.NET side we need to do some configuration in the web.config file. We need to set two attributes in the gweb.configh file:- ã Set gEnabledh attribute to...
2007-10-23, 7881👍, 0💬

Enabling notification for individual tables
Enabling notification for individual tables Once the necessary stored procedure and tables are created then we have to notify saying which table needs to be enabled for notifications. That can be achieved by two ways:- ã aspnet_regsql -et -E -d Northwind -t Products ã Exec spNet_SqlCacheRegisterT...
2007-10-23, 4859👍, 0💬

How do we enable SQL Cache Dependency in ASP.NET 2.0
How do we enable SQL Cache Dependency in ASP.NET 2.0? Below are the broader steps to enable a SQL Cache Dependency:- • Enable notifications for the database. • Enable notifications for individual tables. • Enable ASP.NET polling using “web.config” file • Finally use the Cache dependency object in ...
2007-10-23, 6412👍, 0💬

What is SQL Cache Dependency in ASP.NET 2.0
What is SQL Cache Dependency in ASP.NET 2.0? SQL cache dependencies is a new feature in ASP.NET 2.0 which can automatically invalidate a cached data object (such as a Dataset) when the related data is modified in the database. So for instance if you have a dataset which is tied up to a database tabl...
2007-10-23, 4832👍, 0💬

Can we post and access view state in another application
Can we post and access view state in another application? You can post back to any page and pages in another application, too. But if you are posting pages to another application, the PreviousPage property will return null. This is a significant restriction, as it means that if you want to use the v...
2007-10-23, 4922👍, 0💬

How do we access viewstate value of this page in the next page
How do we access viewstate value of this page in the next page ? View state is page specific; it contains information about controls embedded on the particular page. ASP.NET 2.0 resolves this by embedding a hidden input field name, __POSTBACK . This field is embedded only when there is an IButtonCon...
2007-10-23, 4992👍, 0💬

What is cross page posting
What is cross page posting? By default, button controls in ASP.NET pages post back to the same page that contains the button, where you can write an event handler for the post. In most cases this is the desired behavior, but occasionaly you will also want to be able to post to another page in your a...
2007-10-23, 12155👍, 0💬

What is Absolute and Sliding expiration
What is Absolute and Sliding expiration? Absolute Expiration allows you to specify the duration of the cache, starting from the time the cache is activated. The following example shows that the cache has a cache dependency specified, as well as an expiration time of one minute. Cache.Insert("announc...
2007-10-23, 5480👍, 0💬

What is Query String and What are benefits and limitations of using
What is Query String and What are benefits and limitations of using Query Strings? A query string is information sent to the server appended to the end of a page URL. Following are the benefits of using query string for state management:- ã No server resources are required. The query string contain...
2007-10-23, 5139👍, 0💬

What are benefits and limitations of using Cookies
What are benefits and limitations of using Cookies? Following are benefits of using cookies for state management :- ã No server resources are required as they are stored in client. ã They are light weight and simple to use Following are limitation of using cookies :- ã Most browsers place a 409...
2007-10-23, 4662👍, 0💬

What are benefits and limitations of using Hidden frames
What are benefits and limitations of using Hidden frames? Following are the benefits of using hidden frames: ã You can cache more than one data field. ã The ability to cache and access data items stored in different hidden forms. ã The ability to access JScriptR variable values stored in differ...
2007-10-23, 4486👍, 0💬

How can you use Hidden frames to cache client data
How can you use Hidden frames to cache client data ? This technique is implemented by creating a Hidden frame in page which will contain your data to be cached. &lt;FRAMESET cols="100%,*,*"> &lt;FRAMESET rows="100%"> &lt;FRAME src="data_of_frame1.html">& ;lt;/FRAMESET>&lt;FRAME sr...
2007-10-23, 4667👍, 0💬

What are benefits and Limitation of using Viewstate for state
What are benefits and Limitation of using Viewstate for state management? Following are the benefits of using Viewstate :- ã No server resources are required because state is in a structure in the page code. ã Simplicity. ã States are retained automatically. ã The values in view state are has...
2007-10-23, 4610👍, 0💬

<< < 30 31 32 33 34 35 36 37 38 39 40 > >>   Sort: Rank