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

  • SEARCH
  • Home
  • 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 6660085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:06:40+00:00 2026-05-26T02:06:40+00:00

I use Enterprise library caching application block. The specifics of our requirements required me

  • 0

I use Enterprise library caching application block. The specifics of our requirements required me to add dynamic keys into the cache that depend on different parameters. The keys also have a prefix to group them easily. For example:

AccountsStaffMark1234
AccountsStaffPeter0123
AccountsStaffHenry1111
ScienceStaffRuth2222
EnglishStaffSimon3333

I need to be able to search for all AccountsStaff cache entries and remove them when fresh data is available.
I cannot use the Flush() keyword as it clears all the data, including Science and English. The cached data is stored in a caching DB and I can make wildcard queries on the CacheData table to filter AccountsStaff. Along these lines

  1. Is there a way to search for keys in the Enterprise Library Framework?
  2. If not, is it possible to extend the caching library for my requirement, and how?
  • 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-05-26T02:06:40+00:00Added an answer on May 26, 2026 at 2:06 am

    Ok, figured one way out.
    Cache object exposes the Hashtable with all the keys stored in it. I will build custom logic around the keys to remove specific instances.
    So, in the above case, search for all keys starting with AccountsStaff and remove them explictly.

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

Sidebar

Related Questions

Is it possible for Enterprise library security block to use AppFabric caching as opposed
Can anyone tell me why i should use the Enterprise library Data application block
We use Microsoft Smart client, Enterprise Library, Composite Application Block and Infragistics and some
Does Adobe recommend we use Flex or HTML5 for our enterprise application development? In
on our current project we decide to use enterprise library for logging, upto now
In my apps I typically use the Enterprise Library Data Block to simplify my
I'm using the Enterprise Library Logging application block to allow my application to log
Has anyone used the validation application block from enterprise library? Any success? Anyways, my
I dont know if I should use the httpcontext caching or the Enterprise Library
I'm just starting to use the Enterprise Library Exception Handling block. It seems a

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.