Web Service Cache Question


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Web Service Cache Question

  1. #1
    Join Date
    Feb 2004
    Posts
    111

    Web Service Cache Question

    This is both an ASP.NET and a Web Service question.

    What I'm trying to do is utilize a data access component within a web service. Simple enough. However, the data component loads a series of default values (i.e. command objects - which have a limited life span within the cache, connection strings, provider info, etc.) into memory as it runs.

    My problem is that it seems that web services doesn't seem to have a mechanism for caching data in the same way that a standard web application has an application cache.

    Does anyone know of a way to give a web service an application cache like a standard web application?

    Many thanks for any help that any can provide!

    Laurence -

  2. #2
    Join Date
    Oct 2007
    Posts
    1
    Have you found af cache solution for webservices?

  3. #3
    Join Date
    Mar 2007
    Location
    Bangalore, India
    Posts
    247
    cache, I don't think so. But you can enable session in your web service (by setting the scope property to session or application, you can look up the difference). But the problem is that you have to modify your code to take advantage of that instead of caching.

  4. #4
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    I don't recall seeing web service caching examples. All of the examples I've found are for standard web apps.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. Web Service Deployment Question
    By shstubbs in forum .NET
    Replies: 3
    Last Post: 06-22-2005, 06:14 PM
  2. Web Service Distribution Problem
    By Deepak Chadda in forum .NET
    Replies: 0
    Last Post: 08-13-2003, 10:23 AM
  3. sending XML file to a web service
    By Bill C in forum .NET
    Replies: 1
    Last Post: 02-25-2003, 11:36 PM
  4. Free ASP.NET Web Matrix Design/Editor Tool Released
    By ASPSmith Training in forum dotnet.announcements
    Replies: 0
    Last Post: 06-18-2002, 04:39 AM
  5. Replies: 0
    Last Post: 04-19-2001, 08:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center