* WebConfigurationSettings.cs: if path mapping fails in
GetConfigFromFileName, fall back to the application's physical
directory.
2008-04-29 Marek Habersack <[email protected]>
* HttpException.cs: safe guard against context being null in
GetHtmlErrorMessage.
2008-04-29 Marek Habersack <[email protected]>
* WebServiceCompiler.cs: if compiling a body-less web service, try
to load the class type from the loaded assemblies before
attempting to find it in the assemblies on disk.
svn path=/trunk/mcs/; revision=102127
2007-08-23 Robert Jordan <[email protected]>
* WebConfigurationSettings.cs: Move RemotingConfiguration to
System.Runtime.Remoting.Channels.Http/HttpRemotingHandlerFactory.cs.
Fixes#19384.
In System.Runtime.Remoting/System.Runtime.Remoting.Channels.Http:
2007-08-23 Robert Jordan <[email protected]>
* HttpRemotingHandlerFactory.cs: configure Remoting because
System.Web doesn't anymore. Fixes#81831.
svn path=/trunk/mcs/; revision=84681
* SessionDictionary.cs: do not use lock (this), replace it
with lock (this_object), where this_object is an instance
variable. Prevents deadlocks in situation when external code locks
on the class instance.
2007-08-08 Marek Habersack <[email protected]>
* WebConfigurationSettings.cs: do not use lock (this), replace it
with lock (this_object), where this_object is an instance
variable. Prevents deadlocks in situation when external code locks
on the class instance.
2007-08-08 Marek Habersack <[email protected]>
* StaticSiteMapProvider.cs, HttpApplicationFactory.cs,
HttpStaticObjectsCollection.cs, SiteMapProvider.cs,
XmlSiteMapProvider.cs, HttpApplication.cs, CapabilitiesLoader.cs,
TimeoutManager.cs: do not use lock (this), replace it with lock
(this_object), where this_object is an instance variable. Prevents
deadlocks in situation when external code locks on the class
instance.
svn path=/trunk/mcs/; revision=83648
* CacheDependency.cs: add the NotifyFilters.Size to the
watcher flags, so that we watch for modifications to a file when
using Linux inotify.
2007-04-10 Marek Habersack <[email protected]>
* XmlSiteMapProvider.cs: add the NotifyFilters.Size to the
watcher flags, so that we watch for modifications to a file when
using Linux inotify.
* HttpApplicationFactory.cs: add the NotifyFilters.Size to the
watcher flags, so that we watch for modifications to a file when
using Linux inotify.
App_Code, App_Browsers and App_GlobalResources watchers must watch
for events with the '*' mask so that they can notice events
related to subdirectory creation/deletion.
Watch for subdirectory events with the App_Code watcher.
2007-04-10 Marek Habersack <[email protected]>
* WebConfigurationSettings.cs: add NotifyFilter.Size to the
watcher notification filter to enable file modification events
with Linux inotify.
svn path=/trunk/mcs/; revision=75568
* WebConfigurationSettings.cs: another fix to the
GetConfigFromFileName logic - the passed "filepath" must not end
with a slash when called recursively, or it will lead to endless
recursion.
svn path=/trunk/mcs/; revision=74578
* WebConfigurationSettings.cs: patch by Cyrille Colin that sets the
right application path even when MapPath fails. Closes bug #77044.
svn path=/trunk/mcs/; revision=54716
* WebConfigurationSettings.cs (ReadSectionGroup): some
CONFIGURATION_2_0 work.
* CompilationConfigurationHandler.cs (ReadCompilers): change the
NET_2_0 to CONFIGURATION_2_0.
* CompilerCollection.cs: more ugly hacks for the
2.0-without-config-2.0 case. wrap this in #if !CONFIGURATION_2_0
and make it public in the NET_2_0 case (so it can be used to keep
the config 2.0 stuff building).
* Compiler.cs: same.
* CompilationConfiguration.cs (Init): change the #if NET_2_0 to
#if CONFIGURATION_2_0.
svn path=/trunk/mcs/; revision=53737
* System.Web/TraceContext.cs: don't cast to Page is the handler it's
not a page.
* System.Web.Configuration/WebConfigurationSettings.cs: use
CurrentExecutionFilePath instead of FilePath. Fixes bug #67982.
svn path=/trunk/mcs/; revision=34841
* WebConfigurationSettings.cs: when the virtual path is not /, don't
loop forever trying to read configuration from /. Fixes bug #59480.
svn path=/trunk/mcs/; revision=28710
* WebConfigurationSettings.cs: now it defaults to 'web.config' and if
not found, 'Web.config'. Don't throw exception if both exists. Thanks
to urs and dru for bugging me about this.
svn path=/trunk/mcs/; revision=26698
* WebConfigurationSettings.cs: "/" is the virtual root directory of
the application. This fixes a bug reported by Vlad that caused
configuration error because files were read twice when there's an
application different from "/" defined.
svn path=/trunk/mcs/; revision=25007
* WebConfigurationSettings.cs: use FileSystemWatcher and really reload
configuration when the file is created or modified.
svn path=/trunk/mcs/; revision=24776
* System.Web.dll.sources: added WebConfigurationSettings.
* System.Web/HttpContext.cs: updated GetConfig and GetAppConfig to new
API.
* System.Web/HttpResponse.cs: separate initialization of the HttpWriter,
as it tries to read configuration settings while the config. system is
not available (ie, before the first request).
* System.Web/HttpRuntime.cs: delayed queueManager and response writer
initialization until the configuration system is working.
* System.Web.Configuration/GlobalizationConfiguration.cs: return null
when the configuration is not available.
* System.Web.Util/WebEncoding.cs: use the Default encoding when the
globalization configuration is not available.
* System.Web.Configuration/WebConfigurationSettings.cs: handle
configuration for System.Web. It replaces the default
IConfigurationSystem with itself and handles web.config files
oddities.
* System.Web.UI.WebControls/WebControl.cs: don't create the attributes
when GetAttribute is called.
svn path=/trunk/mcs/; revision=20681