This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy at the same URL with .md appended. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

DocSiteHttpContextKeys Pennington.DocSite

Well-known keys for Items shared across DocSite and its integrations.

Fields

OriginalPath string
Default: "Pennington.DocSite.OriginalPath"
Pre-rewrite public request path. Middleware that rewrites Path for internal routing stashes the caller-visible path here so the layout can resolve the active area and TOC selection against the URL the user actually sees.

Pennington.DocSite.DocSiteHttpContextKeys

namespace Pennington.DocSite;

/// Well-known keys for Items shared across DocSite and its integrations.
public class DocSiteHttpContextKeys
{
    /// Pre-rewrite public request path. Middleware that rewrites Path for internal routing stashes the caller-visible path here so the layout can resolve the active area and TOC selection against the URL the user actually sees.
    
public static const string OriginalPath
; }