Re: ResourceManager vs. ConfigurationManager

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks John,
but I tend to disagree about the performance issue.

First, the Configuration Application Block supports caching. Once the
file is initially loaded the data exists in memory for as long as the
application is alive. When talking about an ASP.NET application, the
loading of the file occurs only once for all users.
In that case I don't care if the loading takes a few seconds more.

Second, the Configuration Application Block supports storing the data
inside SQL Server. I presume loading a lot of strings from database
shouldn't be significantly slower then loading them from a compiled
resource file. Storing the information in database also seems easier to
maintain then a giant resource file.

Last, the Configuration Application Block supports storing of any user
defined object. I'm not sure if that's going to help me in this
specific case, but it seems more flexible than just storing strings.

I still see no pros in using the ResourceManager for that purpose.
Any ideas anyone?

Yanir

.



Relevant Pages

  • Slow code generation and windows form loading
    ... I am experiencing extremely long time for loading a windows form in my Visual C++ .NET project. ... It gets really dramatic when I try to compile in Release configuration (compilation ... That can take up to 20 minutes every time I compile in Release config after a modification ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Panic on todays -current
    ... Just after, or during, the configuration of lo0. ... >: configured into my kernel. ... And if I turn off the loading of ipf ... Manually loading the rules after ...
    (freebsd-current)
  • Re: Wrong DNS configuration loads
    ... loads and old configuration using tserver,domain.local instead of ... stop it from loading? ... MVP Microsoft MVP - Directory Services ... Infinite Diversities in Infinite Combinations ...
    (microsoft.public.win2000.dns)
  • Re: XP Boot Freeze with even Safe Mode
    ... It would do the loading screen, ... this problem only began after I downloaded Windows ... updates yesterday, so presumably something in the new configuration is ... Trying to restart "with last known configuration that works" fails at ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Using Enterprise Libary 2.0 from a DLL ?
    ... You basically can "code up" a configuration file. ... DLL and I don't know if the applications that will reference my DLL are ... The features of the Enterprise Library look great. ... to use them from a DLL without storing the metadata into App.Config? ...
    (microsoft.public.dotnet.framework)