Click or drag to resize

RazorViewExecuteAsync Method

Asynchronously compiles and executes view template for specified request message and post data.

Namespace: GSF.Web.Model
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.181-beta
Syntax
public Task<string> ExecuteAsync(
	HttpRequestMessage request,
	HttpResponseMessage response,
	CancellationToken cancellationToken
)
View Source

Parameters

request  HttpRequestMessage
HTTP request message.
response  HttpResponseMessage
HTTP response message.
cancellationToken  CancellationToken
Propagates notification from client that operations should be canceled.

Return Value

TaskString
Task that will provide rendered result.
See Also