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

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, 4733👍, 0💬

What is ViewState
What is ViewState ? Viewstate is a built-in structure for automatically retaining values amongst the multiple requests for the same page. The viewstate is internally maintained as a hidden field on the page but is hashed, providing greater security than developer-implemented hidden fields do.
2007-10-23, 4643👍, 0💬

What are benefits and Limitation of using Hidden fields
What are benefits and Limitation of using Hidden fields ? Following are the benefits of using Hidden fields :- ã They are simple to implement. ã As data is cached on client side they work with Web Farms. ã All browsers support hidden field. ã No server resources are required. Following are li...
2007-10-23, 4613👍, 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, 4572👍, 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, 4614👍, 0💬

What are the precautions you will take in order that SQLSERVER
What are the precautions you will take in order that SQLSERVER Mode work properly ? Following are the things to remember so that SQLSERVER Mode works properly :- ã SQLSERVER mode session data is stored in a different process so you must ensure that your objects are serializable. ã IIS metabase (\...
2007-10-23, 4722👍, 0💬

What are the precautions you will take in order that StateServer Mode
What are the precautions you will take in order that StateServer Mode work properly ? Following are the things to remember so that StateServer Mode works properly :- ã StateServer mode session data is stored in a different process so you must ensure that your objects are serializable. ã &lt;m...
2007-10-23, 4760👍, 0💬

Is Session_End event supported in all session modes
Is Session_End event supported in all session modes ? Session_End event occurs only in “Inproc mode”.”State Server” and “SQL SERVER” do not have Session_End event.
2007-10-23, 6414👍, 0💬

Which various modes of storing ASP.NET session
Which various modes of storing ASP.NET session ? InProc:- In this mode Session state is stored in the memory space of the Aspnet_wp.exe process. This is the default setting. If the IIS reboots or web application restarts then session state is lost. ã StateServer:-In this mode Session state is seria...
2007-10-23, 4855👍, 0💬

Can you compare ASP.NET sessions with classic ASP
Can you compare ASP.NET sessions with classic ASP? ASP.NET session caches per user session state. It basically uses gHttpSessionStateh class. Following are the limitations in classic ASP sessions :- ã ASP session state is dependent on IIS process very heavily. So if IIS restarts ASP session vari...
2007-10-23, 5004👍, 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, 4671👍, 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, 4633👍, 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, 4336👍, 0💬

What is scavenging
What is scavenging ? When server running your ASP.NET application runs low on memory resources, items are removed from cache depending on cache item priority. Cache item priority is set when you add item to cache. By setting the cache item priority controls the items scavenging are removed first.
2007-10-23, 4754👍, 0💬

What is Cache Callback in Cache
What is Cache Callback in Cache ? Cache object is dependent on its dependencies example file based, time based etc...Cache items remove the object when cache dependencies change.ASP.NET provides capability to execute a callback method when that item is removed from cache.
2007-10-23, 5092👍, 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, 4670👍, 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, 4694👍, 0💬

How can get access to cache object
How can get access to cache object ? The Cache object is defined in the System.Web.Caching namespace. You can get a reference to the Cache object by using the Cache property of the HttpContext class in the System.Web namespace or by using the Cache property of the Page object.
2007-10-23, 5423👍, 0💬

What’s the difference between Cache object and application object
What’s the difference between Cache object and application object ? The main difference between the Cache and Application objects is that the Cache object provides cache-specific features, such as dependencies and expiration policies.
2007-10-23, 4641👍, 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, 4532👍, 0💬

How can we maintain State in Webservices
Do webservice have state ? Webservices as such do not have any mechanism by which they can maintain state. Webservices can access ASP.NET intrinsic objects like Session, application and so on if they inherit from “WebService” base class. &lt;%@ Webservice class="TestWebServiceClass" %> Imports S...
2007-10-23, 5145👍, 0💬

What are the steps to create a webservice and consume it
What are the steps to create a webservice and consume it ? Note :- For this question this book will make a attempt by creating a simple webservice and explaining steps to acheive it. A simple webservice will be created which takes two number and gives addition result of the two number. In CD sample ...
2007-10-23, 4978👍, 0💬

Which attribute is used in order that the method can be used as
Which attribute is used in order that the method can be used as WebService ? WebMethod attribute has to be specified in order that the method and property can be treated as WebService.
2007-10-23, 4552👍, 0💬

What is file extension of Webservices
What is file extension of Webservices ? .ASMX is extension for Webservices. Note :- After this we are going to deal with a sample of webservice. In VS2005 webproject is created from the menu itself as compared to 2003 where it was present in the explorer.
2007-10-23, 4677👍, 0💬

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