liveBook · Manning

Process

As explained in ASP.NET Core in Action, 3e

Process is the synchronous TagHelper method that generates a Tag Helper's output.

Process is the synchronous TagHelper method that defines how a custom Tag Helper renders its output. Override it when the helper can generate its result synchronously; ProcessAsync is the alternative for asynchronous work. section 32.1.1

Rendering system information

A SystemInfoTagHelper overrides Process with TagHelperContext and TagHelperOutput parameters, changes the output element to a div, and writes selected machine and operating-system information. Razor invokes it through a <system-info> element. section 32.1.1

How ASP.NET Core in Action, 3e covers it

How deep it goes
Explains overriding Process, receiving context and output objects, and configuring the rendered element, while deferring asynchronous implementation details.
Examples
Uses SystemInfoTagHelper to render machine and operating-system information inside a div.
What it assumes
Assumes familiarity with Razor templates and TagHelper basics while demonstrating the custom helper structure.
What you can do after
Build it from scratch by overriding Process and configuring TagHelperOutput for a custom Razor element.
How it connects
Connects Tag Helpers with Razor templates, TagHelperContext, TagHelperOutput, HTML encoding, and ProcessAsync.

This explainer was generated by Manning's knowledge graph from the text of ASP.NET Core in Action, 3e. The section links point to the parts of the book it draws on.