ConfigurationSection Caching

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?UGhpbGlw?=

    ConfigurationSection Caching

    I am using the ConfigurationSe ction, ConfigurationEl ement,
    ConfigurationEl ementCollection base classes for purposes of reading a
    customized web.config Configuration section.....and I then use the
    ConfigurationMa nager.GetSectio n to obtain my ConfigurationSe ction object. My
    question is....Is there any inherit caching of the ConfigurationSe ction
    object within the ConfigurationSe ction base class ?....or should I plan on
    conducting my own caching... and using the web.config file as a caching
    dependency ?


    --
    Philip
  • Teemu Keiski

    #2
    Re: ConfigurationSe ction Caching

    Hi,

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

    --
    Teemu Keiski
    AspInsider, ASP.NET MVP




    "Philip" <philip@softwar eforever.comwro te in message
    news:EBB0DB75-CB89-4DB9-B784-FCAEC5897A07@mi crosoft.com...
    >I am using the ConfigurationSe ction, ConfigurationEl ement,
    ConfigurationEl ementCollection base classes for purposes of reading a
    customized web.config Configuration section.....and I then use the
    ConfigurationMa nager.GetSectio n to obtain my ConfigurationSe ction object.
    My
    question is....Is there any inherit caching of the ConfigurationSe ction
    object within the ConfigurationSe ction base class ?....or should I plan on
    conducting my own caching... and using the web.config file as a caching
    dependency ?
    >
    >
    --
    Philip

    Comment

    Working...