DiscoveryRequestHandler.ProcessRequest(HttpContext) Method

Definition

Handles an HTTP request for a discovery document, which is serialized to the HTTP response.

C#
public void ProcessRequest(System.Web.HttpContext context);

Parameters

context
HttpContext

The Request and Response properties of the HttpContext class are used for input and output, respectively.

Implements

Remarks

The ProcessRequest method searches for applicable files within the file system path corresponding to the HTTP request's Uniform Resource Locator (URL). The search may extend to subdirectories and switch target file extensions depending on what it finds in the root search directory.

The search process populates the DiscoveryDocument object's References property with files that are found.

Applies to

Product Versions
.NET Framework 1.1, 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