<< < 102 103 104 105 106 107 108 109 110 111 112 > >>   Sort: Rank

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, 5221👍, 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, 5345👍, 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, 4981👍, 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, 5014👍, 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, 4617👍, 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, 5203👍, 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, 5410👍, 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, 4973👍, 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, 5068👍, 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, 5869👍, 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, 5122👍, 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, 4803👍, 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, 5600👍, 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, 5388👍, 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, 4838👍, 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, 5062👍, 0💬

What the different phase/steps of acquiring a proxy object in
What the different phase/steps of acquiring a proxy object in Webservice ? Following are the different steps needed to get a proxy object of a webservice at the client side :- ã Client communicates to UDI node for WebService either through browser or UDDI's public web service. ã UDII responds wit...
2007-10-23, 5310👍, 0💬

What is WSDL
What is WSDL? Web Service Description Language (WSDL)is a W3C specification which defines XML grammar for describing Web Services.XML grammar describes details such as:- ã Where we can find the Web Service (its URI)? ã What are the methods and properties that service supports? ã Data type suppo...
2007-10-23, 5177👍, 0💬

What is DISCO
What is DISCO ? DISCO is the abbreviated form of Discovery. It is basically used to club or group common services together on a server and provides links to the schema documents of the services it describes may require.
2007-10-23, 5194👍, 0💬

What is UDDI
What is UDDI ? Full form of UDDI is Universal Description, Discovery and Integration. It is a directory that can be used to publish and discover public Web Services. If you want to see more details you can visit the http://www.UDDI.org .
2007-10-23, 5061👍, 0💬

What is a Web Service
What is a Web Service ? Web Services are business logic components which provide functionality via the Internet using standard protocols such as HTTP. Web Services uses Simple Object Access Protocol (SOAP) in order to expose the business functionality.SOAP defines a standardized format in XML which ...
2007-10-23, 4940👍, 0💬

What is ObjRef object in remoting
What is ObjRef object in remoting ? All Marshal() methods return ObjRef object.The ObjRef is serializable because it implements the interface ISerializable, and can be marshaled by value. The ObjRef knows about :- ã location of the remote object ã host name ã port number ã object name.
2007-10-23, 5044👍, 0💬

What is marshalling and what are different kinds of marshalling
What is marshalling and what are different kinds of marshalling ? Marshaling is used when an object is converted so that it can be sent across the network or across application domains. Unmarshaling creates an object from the marshaled data. There are two ways to do marshalling :- ã Marshal-by-valu...
2007-10-23, 5784👍, 0💬

What is Asynchronous One-Way Calls
What is Asynchronous One-Way Calls ? One-way calls are a different from asynchronous calls from execution angle that the .NET Framework does not guarantee their execution. In addition, the methods used in this kind of call cannot have return values or out parameters. One-way calls are defined by usi...
2007-10-23, 5184👍, 0💬

<< < 102 103 104 105 106 107 108 109 110 111 112 > >>   Sort: Rank