# ControlBase Class

> The abstract ControlBase class serves as a base class for TX Text Control ASP.NET MVC extensions.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 23.0
- **Namespace:** `TXTextControl.Web.MVC`
- **Package:** `TXTextControl.Web` (assembly `TXTextControl.Web.DocumentEditor.dll`, from nuget.org, the private NuGet feed or Text Control Offline Packages)
- **Derived:** `TXTextControl.Web.MVC.TextControl`
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web.MVC > ControlBase Class
- **330 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/controlbase/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/controlbase/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/controlbase/llms-full.txt

---

### Description

The abstract ControlBase class serves as a base class for TX Text Control ASP.NET MVC extensions.

### Syntax

```csharp
public abstract class ControlBase
```

```vbnet
Public MustInherit Class ControlBase
```

### Examples

The following example inspects a Control Base object supplied by the document workflow.

```csharp
var workflowObject = controlBase;
Console.WriteLine($"Control Base instance: {workflowObject}");
```

```vbnet
Dim workflowObject = controlBase
Console.WriteLine($"Control Base instance: {workflowObject}")
```

---

## In This Section

- [ControlBase.Render Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/controlbase/render-method/llms-full.txt): Renders the extension's HTML code into the page output.

---

## Nearby

- **Previous:** [TXTextControl.Web.MVC namespace](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/llms-full.txt)
- **Next:** [ControlBase.Render Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/controlbase/render-method/llms-full.txt)
