< 1 2   Sort: Date

Does the performance for viewstate vary according to User controls
Does the performance for viewstate vary according to User controls ? Performance of viewstate varies depending on the type of server control to which it is applied. Label, TextBox, CheckBox, RadioButton, and HyperLink are server controls that perform well with ViewState. DropDownList, ListBox, DataG...
2007-10-23, 5161👍, 0💬

What are dependencies in cache and types of dependencies
What are dependencies in cache and types of dependencies ? When you add an item to the cache, you can define dependency relationships that can force that item to be removed from the cache under specific activities of dependenci es.Example if the cache object is dependent on file and when the file da...
2007-10-23, 5155👍, 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, 5149👍, 0💬

How can you cache different version of same page using ASP.NET
How can you cache different version of same page using ASP.NET cache object ? Output cache functionality is achieved by using “OutputCache” attribute on ASP.NET page header. Below is the syntax &lt;%@ OutputCache Duration="20" Location="Server" VaryByParam="state" VaryByCustom="minorversion" Var...
2007-10-23, 5132👍, 0💬

What are the other ways you can maintain state ?
What are the other ways you can maintain state ? Other than session variables you can use the following technique to store state : ? Hidden fields ? View state ? Hidden frames ? Cookies ? Query strings
2007-10-23, 5100👍, 0💬

How will implement Page Fragment Caching
How will implement Page Fragment Caching ? Page fragment caching involves the caching of a fragment of the page, rather than the entire page. When portions of the page are need to be dynamically created for each user request this is best method as compared to page caching. You can wrap Web Forms use...
2007-10-23, 5089👍, 0💬

P)Can you show a simple code showing file dependency in cache
P)Can you show a simple code showing file dependency in cache ? Partial Class Default_aspx Public Sub displayAnnouncement() Dim announcement As String If Cache(“announcement”) Is Nothing Then Dim file As New _ System.IO.StreamReader _ (Server.MapPath(“announcement. txt”))announcement = file.ReadToE...
2007-10-23, 5068👍, 0💬

Where do you specify session state mode in ASP.NET
Where do you specify session state mode in ASP.NET ? &lt;sessionState mode=”SQLServer” stateConnectionString=”tcpip=1 92.168.1.1:42424"sqlConnectionString=”data source=192.168.1.1; Integrated Security=SSPI” cookieless=”false” timeout=”20" /> Above is sample session state mode specified for SQ...
2007-10-23, 5043👍, 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, 4909👍, 0💬

What is an application object
What is an application object ? Application object can be used in situation where we want data to be shared across users globally.
2007-10-23, 4889👍, 0💬

What are different types of caching using cache object of ASP.NET
What are different types of caching using cache object of ASP.NET? You can use two types of output caching to cache information that is to be transmitted to and displayed in a Web browser: Page Output Caching Page output caching adds the response of page to cache object. Later when page is requested...
2007-10-23, 4684👍, 0💬

< 1 2   Sort: Date