Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8286513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:47:38+00:00 2026-06-08T11:47:38+00:00

I need caching facility which should work from both WCF and from within an

  • 0

I need caching facility which should work from both WCF and from within an ASP .NET app. I have seen:

  1. System.Web.Caching.Cache which is not usable from WCF (as I understand it is usable only if service is hosted in IIS, which is not always the case)

  2. System.Runtime.Caching which is usable from both of them, but only available from .NET 4, but our .NET version is 3.5.

Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T11:47:39+00:00Added an answer on June 8, 2026 at 11:47 am

    You can absolutely use System.Web.Caching.Cache outside of IIS. Just add a reference to System.Web and away you go – it is absolutely not a feature of IIS.

    There were issues in .NET 1.0 and 1.1 but apparently not in 2.0 and upwards – see this Knowledge Base article.

    But like Davide Piras I would also recommend considering AppFabric to share the cache between your two applications, if that would be useful. I’m not sure what you mean by “my requirement cannot afford something like AppFabric” – by “afford” are you talking about performance, memory, or what? Whilst AppFabric is designed to be used on a cache server it does not by any means require dedicated hardware, you can run the service on the same box as your application if you need to.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm confused on ASP.NET MVC caching and authorization and in dire need of some
I need to implement caching in Asp.net web application My need to store data
For caching purposes I need to generate a cache key from GET arguments which
I need a timebased caching of certain pages. Cache for certain page should be
We need a caching solution that essentially caches data (text files) anywhere from 3
I need an offline caching system where my app can store about 0.5 MB
I'm implementing a PHP script which will need some caching capabilities. I'm trying to
I have an application in need of some caching, and for some of the
I have added Output Caching to a couple of actions in my app for
I need to determine which tab the user is coming from, and going to,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.