|
by: usamedb208 |
last post by:
Hello.
I have a web method that make a call to database.
I set cacheDuration attribute to 0, -1,1, anything
but it caches results every time when I make a call
to this web method with the same params.
How do I turn off caching?
|
by: André Schubert |
last post by:
Morning,
how can i change the cache duration of a webservice methode dynamically ?
THX
André
|
by: jonel |
last post by:
I have the CacheDuration attribute set for 60 seconds as show below:
<WebMethod(CacheDuration:=60, Description:="Method to demonstrate
caching")> _
Public Function CachedString(ByVal inputInt As Integer) As String
Return "The time is " & DateTime.Now.ToLongTimeString
End Function
When I invoke this page from IE using the same parametr in...
|
by: A |
last post by:
Hello
I have a caching problem : my WebService is using a DB.
I'm doing changes in the DB and they are not reflected in the result of the
Web method.
After like 30min, restarting IIS many times .... without touching the code,
the changes appear in the result of the Web method.
I try to add but it keeps the same
data...
|
by: thehitman |
last post by:
I used an article "Creating a Flexible Configuration Section Handler
"(http://www.15seconds.com/issue/040504.htm). The Console application
works with app.config but with the web.config. The Namespace change and
inserting into a class library are the only differences in the code.
In the web config
<!-- Config section Group and Sections...
|
|
by: archana |
last post by:
hi all.
I am having one web service in c#.net where in i am using
cacheduration.
I have one property as below:
get
{
|
by: dba56 |
last post by:
In an ASP.Net 2.0 page using SQL Server 2K, I have a editable gridview
that is bound to a SQLDataSource using stored procedures for its select
and update queries. The grid works fine but is slow due to rebinding
on postbacks when the edit, save or cancel buttons are clicked. So I
set "enablecache = True" for the SQLDataSource and it is...
|
by: Arpan |
last post by:
I successfully created a DLL named "DBServices.dll" using the following
code in a class file:
Imports System
Imports System.Data
Imports System.Data.SqlClient
Imports System.Web.Services
Namespace DBServices
Public Class DBServiceSettings : Inherits WebService
|
by: archana |
last post by:
Hi all,
I am developing one web service and i want to use caching in that. I
set cacheduration as 60 seconds.
So what i am expecting is withint 60 second if i recalled method it
should give me cached result and not new one. But its not happening
even if i am passing same parameter to web method.
Can anyone tell me do i need to change...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|