* HttpApplication.cs: use GetSection instead of
OpenWebConfiguration+GetSection.
svn path=/trunk/mcs/; revision=137638
+2009-07-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+ * HttpApplication.cs: use GetSection instead of
+ OpenWebConfiguration+GetSection.
+
2009-07-09 Marek Habersack <mhabersack@novell.com>
* HttpContext.cs: fall back to default resource provider factory
bool allowCache;
#if NET_2_0
- global::System.Configuration.Configuration cfg = WebConfigurationManager.OpenWebConfiguration (req.Path, null, req.FilePath);
- HttpHandlersSection httpHandlersSection = cfg.GetSection ("system.web/httpHandlers") as HttpHandlersSection;
+ HttpHandlersSection httpHandlersSection = WebConfigurationManager.GetSection ("system.web/httpHandlers", req.Path, req.Context) as HttpHandlersSection;
ret = httpHandlersSection.LocateHandler (verb, url, out allowCache);
#else
HandlerFactoryConfiguration factory_config = (HandlerFactoryConfiguration) HttpContext.GetAppConfig ("system.web/httpHandlers");