HttpWorkerRequest.RootWebConfigPath Property

Definition

Gets the full physical path to the root Web.config file.

C#
public virtual string RootWebConfigPath { get; }

Property Value

The physical path to the root Web.config file.

Remarks

If you are implementing your own hosting environment, you may to override this property to return the location of your environment's root configuration file. An example of this is the SimpleWorkerRequest class which provides a simple implementation of the HttpWorkerRequest. The SimpleWorkerRequest.RootWebConfigPath property of SimpleWorkerRequest class overrides the RootWebConfigPath property of HttpWorkerRequest class.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also