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 gHttpSessionStateh 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, 4888👍, 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, 4569👍, 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 <%@ OutputCache Duration="20" Location="Server" VaryByParam="state" VaryByCustom="minorversion" Var... 2007-10-23, 4536👍, 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, 4260👍, 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, 4636👍, 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, 4988👍, 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, 4568👍, 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, 4604👍, 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, 5336👍, 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, 4542👍, 0💬
.NET INTERVIEW QUESTIONS - What are Daemon threads and how can a thread be created as Daemon? Daemon...
Can static variables be declared in a header file? You can't declare a static variable without defin...
it will be very helpful if you send some important Questions with Answers of DBMS Tell us what types...
Can include files be nested? The answer is yes. Include files can be nested any number of times. As ...
How do you estimate maintenance project and change requests?