473,320 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

ConfigurationSection Caching

I am using the ConfigurationSection, ConfigurationElement,
ConfigurationElementCollection base classes for purposes of reading a
customized web.config Configuration section.....and I then use the
ConfigurationManager.GetSection to obtain my ConfigurationSection object. My
question is....Is there any inherit caching of the ConfigurationSection
object within the ConfigurationSection base class ?....or should I plan on
conducting my own caching... and using the web.config file as a caching
dependency ?
--
Philip
Sep 10 '07 #1
1 1658
Hi,

web.config stuff is cached behind the scenes, so you don't need to cache it
manually.

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Philip" <ph****@softwareforever.comwrote in message
news:EB**********************************@microsof t.com...
>I am using the ConfigurationSection, ConfigurationElement,
ConfigurationElementCollection base classes for purposes of reading a
customized web.config Configuration section.....and I then use the
ConfigurationManager.GetSection to obtain my ConfigurationSection object.
My
question is....Is there any inherit caching of the ConfigurationSection
object within the ConfigurationSection base class ?....or should I plan on
conducting my own caching... and using the web.config file as a caching
dependency ?
--
Philip

Sep 10 '07 #2

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

Similar topics

0
by: Jérôme Piquot | last post by:
Hi, When i want to save configuration settings i have a "ConfigurationSection properties cannot be edited when locked" Exception. StackTrace " at...
0
by: Troy Simpson | last post by:
Hi, I have a website which is made up of dynamic pages. Each page that's loaded has some code which looks at which template to load amongst other things, which causes the page to take a little...
0
by: Liam | last post by:
I'm using VS 2005 and I have a custom ConfigurationSection class that works perfectly. However, when I reference it from my test project it works fine for all of the properties except when they...
5
by: Raj | last post by:
What is the purpose of file system caching while creating a tablespace? Memory on the test server gets used up pretty quickly after a user executes a complex query(database is already activated),...
7
by: Alexander van Doormalen | last post by:
Is it possible to load data from a configuration file within a assembly (class library)? The hosting exe file is something completely different which isn't gonna load my config file. I already...
0
by: Michael | last post by:
Hi, I would like to know if it is possible to use the ConfigurationSection class to modify user settings. I have created custom configuration classes that derive from ConfigurationSetion and...
2
by: George1776 | last post by:
All, I've recently upgraded our production ASP.NET/C# application from framework 1.1 to 2.0. Since then I've been plagued by out-of-memory errors and problems with the cache object (which may...
4
by: Hermann | last post by:
My site is a bit slow showing the main page so I thought caching query result in PHP will improve performace. Then I read MySQL documentation and saw that MySQL does have a caching feature. So......
2
by: Smithers | last post by:
I have a Windows Forms application that implements a plug-in architecture whereby required assemblies are identified and loaded dynamically. Here are the relevant classes: A = application =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.