2009-07-15 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Wed, 15 Jul 2009 13:22:33 +0000 (13:22 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Wed, 15 Jul 2009 13:22:33 +0000 (13:22 -0000)
commit4a2ae0bb4f5b608484b33d5af501b0a192fe3286
treed9e28e3556adf3fb206021af6d73c39e2a542061
parent5a4401690e324c0d5ac95199616242559c602354
2009-07-15  Marek Habersack  <mhabersack@novell.com>

* WebConfigurationManager.cs: another approach to suppressing
application reloads after the app writes to its root web.config
file. Leaving the previous code in place to get more
protection. It's a kludge, but it's the best option to avoid
all the races caused by System.Configuration+FileSystemWatcher
without rewriting large parts of System.Configuration (and
System.Web.Configuration). Fixes bug #522017

2009-07-15  Marek Habersack  <mhabersack@novell.com>

* Configuration.cs: explicitly flush the stream when writing XML
data. Part of fix for bug #522017

2009-07-15  Marek Habersack  <mhabersack@novell.com>

* HttpApplicationFactory.cs: added internal methods to
enable/disable specific watchers. Part of fix for bug #522017

svn path=/trunk/mcs/; revision=137951
mcs/class/System.Configuration/System.Configuration/ChangeLog
mcs/class/System.Configuration/System.Configuration/Configuration.cs
mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog
mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationManager.cs
mcs/class/System.Web/System.Web/ChangeLog
mcs/class/System.Web/System.Web/HttpApplicationFactory.cs