* WebConfigurationManager.cs: added support for suppressing
application reload when the main config file is written to from
application.
* WebConfigurationHost.cs: added minimal implementation of
WriteCompleted, which checks if there's need to suppress
application reload.
2009-07-14 Marek Habersack <[email protected]>
* ConfigurationSaveEventArgs.cs, ConfigurationSaveEventHandler.cs:
added
* Configuration.cs: added two internal events - SaveStart and
SaveEnd. They are used by System.Web's configuration system to
suppress application reloads when configuration is modified and
saved from within a web application. It is necessary to use events
since there is no guarantee the web application will use
WebConfigurationManager (and thus WebConfigurationHost) for
writing.
2009-07-14 Marek Habersack <[email protected]>
* System.Configuration.dll.sources: added
System.Configuration/ConfigurationSaveEventArgs.cs
System.Configuration/ConfigurationSaveEventHandler.cs
2009-07-14 Marek Habersack <[email protected]>
* AssemblyInfo.cs: added InternalsVisibleTo for System.Web
2009-07-14 Marek Habersack <[email protected]>
* HttpApplicationFactory.cs: OnFileChanged doesn't reload
application if reload suppression is active.
svn path=/trunk/mcs/; revision=137847
GetFilename/GetLineNumber overloads.
* System.Configuration_test.dll.sources: added
ConfigurationErrorsExceptionTest.cs.
* System.Configuration.dll.sources: added ConfigXmlTextReader.cs.
* ConfigurationElement.cs: Use ConfigurationErrorsException instead of
ConfigurationException, and pass reader to ConfigurationErrorsException
ctor to allow for file/linenumber info in exception message.
* ConfigurationErrorsException.cs: Removed local bareMessage field, and
use base.BareMessage field instead. Fixed Message property to only add
filename if not null or zero-length string, and only add line if not
zero. In GetFilename/GetLineNumber overloads, only try to get info if
node/reader implements IConfigErrorInfo.
* ConfigurationSection.cs: Use ConfigXmlTextReader instead of
XmlTextReader to allow for file/linenumber info in exception messages.
* ConfigXmlTextReader.cs: Added XmlTextReader that implements
IConfigErrorInfo.
* ConfigurationLocation.cs: Use ConfigXmlTextReader instead of
XmlTextReader to allow for file/linenumber info in exception messages.
* ClientConfigurationSystem.cs: Perform lazy initialization and
wrap exceptions in ConfigurationErrorsException. Fixes standalone test
t28.
* Configuration.cs: Use ConfigXmlTextReader instead of XmlTextReader
to allow for file/linenumber info in exception messages.
* ConfigInfo.cs: Fixed ThrowException to use file/number info available
in XmlTextReader for exception message.
* AppSettingsSection.cs: Use ConfigXmlTextReader instead of
XmlTextReader to allow for file/linenumber info in exception messages.
* Assert.cs: added.
* Makefile: added Assert.cs, and explicitly specify output file.
* t28.cs: Improved test.
svn path=/trunk/mcs/; revision=106626
* ConfigurationSectionCollection.cs, ConfigurationSectionGroupCollection.cs,
PropertyInformationCollection.cs, SectionGroupInfo.cs: these collections should be based on case insensitive NameObjectCollectionBase
* added OrdinalComparer.cs for use in NameObjectCollectionBase
* t44.cs: added test for case sensitivity check
svn path=/trunk/mcs/; revision=74361
* added: ConfigurationRemoveElement.cs, common element for <remove>
* ConnectionStringSettingsCollection.cs: reverted last fix for <remove> element
* ConfigurationElementCollection.cs: fixed the way that OnDeserializeUnrecognizedElement method handles <remove> element
* t37.cs, t37.exe.config, t37.exe.expected: added some tests for <remove> element
svn path=/trunk/mcs/; revision=67370
* System.Configuration_test.dll.sources: add a bunch of new tests.
* System.Configuration.dll.sources: add a bunch of new files to
the build.
svn path=/trunk/mcs/; revision=51312