Web/ForgeTrust.Runnable.Web.RazorWire/Bridge/RazorPartialRenderer.cs
RazorPartialRenderer
Type
RazorPartialRenderer
Implements using the Razor view engine.
Method
RenderPartialToStringAsync(string, object?, CancellationToken)
Because this method executes outside of an HTTP request context, it uses a blank
(with empty and ). As a result, the
may not be able to locate views that are scoped to a specific controller
(e.g., Views/ControllerName/ViewName.cshtml) unless the full path is provided (e.g., ~/Views/Reactivity/_MyPartial.cshtml).
Shared views (e.g., Views/Shared/_MyPartial.cshtml) are generally resolvable by name.