#### [Abblix\.Oidc\.Server\.Mvc](https://www.abblix.com/en/docs/api/abblix-oidc-server-mvc 'index')
### [Abblix\.Oidc\.Server\.Mvc\.ActionResults](https://www.abblix.com/en/docs/api/abblix-oidc-server-mvc/Abblix.Oidc.Server.Mvc.ActionResults 'Abblix\.Oidc\.Server\.Mvc\.ActionResults')

## GeneratedHtmlResult Class

Provides a base class for action results that generate HTML content\.

```csharp
public abstract class GeneratedHtmlResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult, Microsoft.AspNetCore.Mvc.IActionResult
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → [Microsoft\.AspNetCore\.Mvc\.ActionResult](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.actionresult 'Microsoft\.AspNetCore\.Mvc\.ActionResult') → GeneratedHtmlResult

Implements [Microsoft\.AspNetCore\.Mvc\.Infrastructure\.IStatusCodeActionResult](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.infrastructure.istatuscodeactionresult 'Microsoft\.AspNetCore\.Mvc\.Infrastructure\.IStatusCodeActionResult'), [Microsoft\.AspNetCore\.Mvc\.IActionResult](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.iactionresult 'Microsoft\.AspNetCore\.Mvc\.IActionResult')

### Remarks
This abstract class is designed to be inherited by classes that need to dynamically generate HTML content as an action result\.
It sets various HTTP headers to ensure that the generated content is not cached and is served as HTML\.
### Methods

## GeneratedHtmlResult\.ExecuteResultAsync\(ActionContext\) Method {#Abblix.Oidc.Server.Mvc.ActionResults.GeneratedHtmlResult.ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext)}

Asynchronously executes the result operation of the action method, setting HTTP headers and writing the HTML content to the response\.

```csharp
public override System.Threading.Tasks.Task ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext context);
```
#### Parameters

###### `context` [Microsoft\.AspNetCore\.Mvc\.ActionContext](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.actioncontext 'Microsoft\.AspNetCore\.Mvc\.ActionContext') {#Abblix.Oidc.Server.Mvc.ActionResults.GeneratedHtmlResult.ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext).context}

The action context for the current request\.

Implements [ExecuteResultAsync\(ActionContext\)](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.iactionresult.executeresultasync#microsoft-aspnetcore-mvc-iactionresult-executeresultasync(microsoft-aspnetcore-mvc-actioncontext) 'Microsoft\.AspNetCore\.Mvc\.IActionResult\.ExecuteResultAsync\(Microsoft\.AspNetCore\.Mvc\.ActionContext\)')

#### Returns
[System\.Threading\.Tasks\.Task](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task 'System\.Threading\.Tasks\.Task')
