|
by: Dan Olson |
last post by:
My question is not about how to update an application's config file during run-time, but how to invalidate the cached copy so that if a change to the config file is made, the application can use the new data without being restarted.
Is there a programmatic way to invalidate the cached copy of an app.config file?
In the "old" .INI file days, there was a work-around to this caching. How do we do it today?
Help is appreciated.
|
by: DraguVaso |
last post by:
Hi,
I have a Windows Service running (made in VB.NET), and wanted to be able to
change from time to time some parameters by changing them in the App.config.
But it seems that the application doesn't use the changed values in the
App.config, but continue to use the values that were there during start-up.
Is there a way to let the application use the new values in the App.config?
Is there kind of some 'refresh' function that I should...
|
by: Mads Brydegaard |
last post by:
Hi,
I have created a custom Config handler for reading a custom config section
in my .config file(s)
It works very well!
I have placed a web.config in my root directory and then I use sub files in
sub diretories overriding various settings in the config file. Very nice
strategy which really makes it easy to customize generic applications.
|
by: Jay Hilyard |
last post by:
Hi all,
I was playing with the new ConfigurationManager class in the Feb CTP drop of
VS 2005 and I noticed that if you make changes to the configuration inside of
an ASP.NET page, those changes are immediately written to the web.config when
you say Configuration.Save() but if I then try to access them, they do not
appear to refresh within the request.
Not completely unexpected I suppose but I was wondering if anyone knew if
this is...
|
by: Pietro |
last post by:
I've created another .config file (site.config) to avoid restarting when
web.config is changed, but changes in this new .config file only take effect
when the application restarts. I would like to know how to view this changes
or restart it manually.
Thanks
Pietro
|
|
by: Fred Nelson |
last post by:
Hi:
I have written several web applications that obtain their connection
strings from the web.config file. This is very easy to use and it makes
it easy to move an app from development into production.
I'm in the process of writing a site that will have lots of traffic so
I'm trying to save resources everyplace that I can.
My question is - do the web.config app settings get loaded once when the
|
by: RedHair |
last post by:
In ASP.NET web application, where is the best place
to store a application scope variable?(read only)
Web.Config file or application object?
Which performance is better while reading the data?
|
by: John Bailo |
last post by:
What's the cost of using a web.config key in a web method?
Is the value cached at start up? Or at first run? Or read on each
access?
Is web.config always "read off the disk" or can the file be cached?
I'm debating putting in a AppSetting entry versus hard coding for a
web service handling many hundreds of requests per hour.
|
by: NickP |
last post by:
Hi there,
I am implementing a simple "/U" command line argument for a .NET
application that instructs the application to delete the following
folders...
My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData
My.Computer.FileSystem.SpecialDirectories.AllUsersApplicationData
The application deletes these folders successfully then exits. Even
|
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...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
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...
|
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...
|
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,...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
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...
|