Problem
Substitution from System.Web.UI.WebControls.Substitution provides post-cache substitution in Web Forms renders dynamic content even when the page is cached.
Blazor Approach
Implement as a component that accepts a callback delegate and renders its string output. Since Blazor doesn't use output caching the same way, this becomes a simple delegate-rendering component for migration compatibility.
Key Properties:
- MethodName (string) in Web Forms, names a static method. In Blazor, we'll use a Func or EventCallback parameter instead.
HTML Output:
Renders the string output of the callback directly (no wrapper element).
Acceptance Criteria
Size: Small
Milestone: M17
Problem
Substitution from System.Web.UI.WebControls.Substitution provides post-cache substitution in Web Forms renders dynamic content even when the page is cached.
Blazor Approach
Implement as a component that accepts a callback delegate and renders its string output. Since Blazor doesn't use output caching the same way, this becomes a simple delegate-rendering component for migration compatibility.
Key Properties:
HTML Output:
Renders the string output of the callback directly (no wrapper element).
Acceptance Criteria
Size: Small
Milestone: M17