473,320 Members | 1,933 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Dynamic CacheDuration

Morning,

how can i change the cache duration of a webservice methode dynamically ?

THX

André
Nov 23 '05 #1
1 1239
Hi,

I am not 100% sure but I think that attributes can not receive dynamic
values and that's why you can not put any non constant there.

The workaround is to use the Cache object on System.Web to response with the
dynamic cache.

Hope this helps
Salva
"André Schubert" wrote:
Morning,

how can i change the cache duration of a webservice methode dynamically ?

THX

André

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
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...
1
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...
3
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 {
0
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 ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.