473,569 Members | 2,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Caching data coming from a Web service

Hi all,

I have a Web app that calls a Web service to get back some data that very
rarely change, like a lookup table to populate a dropdown.

I'm wondering how best to cache that data. Can CacheDependency help here? My
guess is that it can't, but never know.

Another solution I thought about is:
Make two Web method calls, instead of just one. The first Web method will
just ask the Web service if data has change since a particular datetime. If
it has, then make 2nd Web method call to get the data. If it has not, then
get data from the Cache object.

Any thoughts on that, or other possible solutions? I need to mention that
the data returned by the 2nd Web method is pretty big, so my guess is that
two Web method calls will be cheaper on average than always making the 2nd
Web method call.

Thanks.
Mar 10 '06 #1
0 866

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

Similar topics

1
1467
by: Bob Rock | last post by:
Hello, I'd like to have some suggestions/pointers to how I could implement caching of generic data used by a set of web methods. I don't need to cache the response of web methods but of generic data (in the form of key/value pairs). .. Based on my current knowledge I have the following two choices: 1) using the HttpApplication class
0
1605
by: Ryan Gregg | last post by:
I'm working with a user control that hits a web service and builds a result from that. I'd like to use partial caching to cache the object to prevent a heavy load on the web service (since the data does change very frequently). However, on occasion the web service doesn't return data, and I'd like to either continue to use the cache copy, or...
5
298
by: michaeltorus | last post by:
Is the only way to cache data in Memory, such as a Dom Document, to use System.Web.Caching namespace? I can't seem to find anything else, but what if you want to cache something in memory and you don't have a web app ? --- Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
17
3235
by: Fred Nelson | last post by:
Hi: I have written several web applications that obtain their connection strings from the web.config file. This is very easy to use and it makes it easy to move an app from development into production. I'm in the process of writing a site that will have lots of traffic so I'm trying to save resources everyplace that I can. My question...
1
4082
by: Oleg | last post by:
Hi, I'm having a problem with page caching and therefore reusing dropdown box contents. Scenerio: user1 has security to see list of three items(.aspx populates it with three items only) in dropdown on page1. user2 has security to see list of two items in dropdown on page1. user1 logs in. when user1 gets to page1, dropdown has three items.
0
1139
by: archana | last post by:
Hi all, Can someone tell me how the caching is implemented. Means how data is stored in output caching and data caching. If i am using output caching will that cache maintain on client side? Will request go to web service if item is in cache. And if i am using data aching will request to to webservice if item is cached.
2
1171
by: pechar | last post by:
Hi all, I am using a web service to retrieve data from a remote foxpro database for an ecommerce database. Practically all data except static content will be retrieved through this web service. I have a scenario where users select categories of products and after retrieving the products by category they can filter by price and brand. I...
12
2047
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
I'm using ASP.Net with an UpdatePanel. When the screen is exercised via a Web Test, the Web Test shows that the AJAX scripts are downloaded for every partial post back. My impression was that IE would cache these scripts so that the AJAX script download would only occur once. What am I missing?
5
5429
by: =?Utf-8?B?TWFyaw==?= | last post by:
I'm researching what is the best way to create a generic WCF proxy wrapper that has the following requirements: 1. Remove the System.ServiceModel config section requirement for clients. We have our own configuration management that follows our application lifecycle (development/system test/production). Also, most of the proxies we build are...
0
7614
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...
1
7676
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...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5513
isladogs
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...
0
5219
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...
0
3653
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...
0
3642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2114
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
0
938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.