473,811 Members | 3,264 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cache Application Block And Com+

Ram
Hey,
I want to use the Cache Application Block as my distributed cache for
all my applications.
To do so, I create a ServicedCompone nt wrapper for the Cache
Application Block, which is a simple Singleton that holds a
CacheManager instance.
The Cache configuration is the default (I took it from the example
project of the Enterprise Library).
All works well, but event after the Cache scavenges the expired cache
items, the memory of the cache process (the dllhost) never gets
allocated...
Is there a known issue using the Cache Application Block from Com+,
Or are there any special steps needed when using it from Com+?
Thanks ahead,

--sternr

Mar 14 '06 #1
0 806

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

Similar topics

6
4124
by: Stanley | last post by:
has anyone managed to use cache application block in a web application? thanks stanley
0
1407
by: Matthew | last post by:
Hi all, I am attempting to cache a loaded XslTransform object using the cache application block. I get "System.Xsl.XslTransform.....is not marked as serializable" I guess the cache appl block uses serialization internally, but I am a little surprised that its impossible to cache these objects. Seems like the XmlDocument class would be the same. I see a few posts related to custom serialization and surrogates? is that the solution?
2
1094
by: stefano mostarda | last post by:
Hi there, In my application I need a dataset containing tables often used in pages. They must be always available so I though Application would likely be the best place to store the dataset. But what about Cache?. Would it be better to load the dataset in cache and reload it when it expires?. Thanks in advance, Stefano Mostarda MCP Rome Italy
2
1819
by: Harry Simpson | last post by:
If anyone can chime in on these questions, I'd sure appreciate it. 1. How does the cache block fit in with the UIP Block - Is the "state" managed there handled any differently with the CAB included? Do they coexist? 2. Is Singleton the kind of default storage method relating to application wide memory - Is it different in web vs Win apps? 3. Should we just use the ASPNET cache for web apps and the CAB for Win
0
1053
by: Aamir79 | last post by:
Hi all, I'm using Microsoft Applications cache block in my web application. It worked fine for sometime then suddenly it is raising the following error: Message: "Can't validate the current data item. Maybe it was altered." Source: "Microsoft.ApplicationBlocks.Cache" StackTrace: "at Microsoft.ApplicationBlocks.Cache.DataProtectionManager.RemoveMAC(Byte binaryMacValue) in
1
1391
by: Felix Planjer | last post by:
Hi group, We're developing an application that may be migrated to a web farm in the future, but we want to be prepared for the move, hence the following question: Using the Caching Application Block, how can one machine, when updating a table in the database, signal it's own, but more importantly, signal the other machines cache to invalidate the cached database result?
2
3108
by: Steve W | last post by:
I have an ASP.NET app that calls into some VB.NET components. It passes in the current application's cache (HttpContext.Current.Cache). These VB.NET components also get called by a non-ASP.NET application (in this case a VB.NET windows service). I'd like to create something like the cache in this service to hold application-wide information (like database connection strings) and then pass that into the components. As a test, I tried...
1
10364
by: Macca | last post by:
Hi I have a N-tier ASP.NET application that uses a data access tier to get data from a database and pass it to the middleware/business tier for processing/filtering and then passes the modified data to the web tier for presentaion. What I would like to do is introduce a cache to the middleware tier to cut down on the round trips to the database.
5
2671
by: Trapulo | last post by:
Hello, I'm developing an asp.net application that is connected to a remote system using WCF (wshttp binding). So I want to use a local cache to manage data that I receive from remote service. I'm using caching block from MS application enterprise library 4.1, configured to use a SQL Server cache. That's great: it works with very little effort. However I noticed that caching block mantains a copy of the cache in memory (loading all...
0
9727
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10647
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10386
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10398
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10133
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7669
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4339
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
3
3017
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.