Rendering A Partial To A String In Razor Pages

added by DotNetKicks
3/19/2019 11:40:15 AM

1 Kicks, 513 Views

Partial Views or Pages are primarily used as a means of including reusable snippets of HTML within one or more Razor Pages. This walkthrough illustrates how to take advantage of the power of the Razor templating system used by partial pages to generate HTML for other purposes, such as the body of a mail message.