A
almurph
Hi everyone,
Hope you can help me with this. I have the following inside the
App.config of a DLL:
<cache disableMemoryCollection="false"
disableExpiration="false"
privateBytesLimit="1000"
percentagePhysicalMemoryUsedLimit="2000"
privateBytesPollTime="00:00:00" />
This DLL is consumed by a windows application but when I make a call
to the following (from inside the dll and pass to the application)
like:
HttpRuntime.Cache.EffectivePrivateBytesLimit;
I get like a massive number like: 754974720. In short it does not see
to pick up the value that I set inside the App.config. Bummer!
Can anyone please help me "pick it up" - do you know what I mean?
Would appreciate any comments/suggestions/code-saples/user experiences
that you may be able to offer.
Thanks,
Al.
Hope you can help me with this. I have the following inside the
App.config of a DLL:
<cache disableMemoryCollection="false"
disableExpiration="false"
privateBytesLimit="1000"
percentagePhysicalMemoryUsedLimit="2000"
privateBytesPollTime="00:00:00" />
This DLL is consumed by a windows application but when I make a call
to the following (from inside the dll and pass to the application)
like:
HttpRuntime.Cache.EffectivePrivateBytesLimit;
I get like a massive number like: 754974720. In short it does not see
to pick up the value that I set inside the App.config. Bummer!
Can anyone please help me "pick it up" - do you know what I mean?
Would appreciate any comments/suggestions/code-saples/user experiences
that you may be able to offer.
Thanks,
Al.