* SimpleWorkerRequest.cs: store the root web configuration path in a
static variable.
svn path=/trunk/mcs/; revision=137634
+2009-07-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+ * SimpleWorkerRequest.cs: store the root web configuration path in a
+ static variable.
+
2009-02-19 Marek Habersack <mhabersack@novell.com>
* ApplicationHost.cs: added support for the
// computed
string raw_url;
-
+
+ static readonly string root_web_config_path;
+
+ static SimpleWorkerRequest ()
+ {
+ root_web_config_path = WebConfigurationManager.OpenWebConfiguration ("~").FilePath;
+ }
+
//
// Constructor used when the target application domain
// was created with ApplicationHost.CreateApplicationHost
}
#if NET_2_0
public override string RootWebConfigPath {
- get { return WebConfigurationManager.OpenWebConfiguration ("~").FilePath; }
+ get { return root_web_config_path; }
}
#endif