# .NET API

> Browse .NET namespaces for Razor and Blazor editors, portable typed workbook APIs, native backend processing and data providers in TX Sheet Control.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Sheet Control > API Reference > .NET API
- **1000 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/llms-full.txt

---

The public .NET types of TX Sheet Control come from three NuGet packages: `TXTextControl.TXSheetControl.AspNetCore`, which adds the browser editor to ASP.NET Core Razor pages, and `TXTextControl.TXSheetControl.Server`, which processes workbooks in .NET without a browser. The Blazor package `TXTextControl.TXSheetControl.Blazor` adds a Razor component, typed C# workbook APIs and notifications for Server and WebAssembly. The additional non-SQL data namespace is bundled with the Server package, so there is no separate helper package to install.

The table below says what each namespace contains and where to start in it. A namespace's page lists its classes, interfaces and enumerations, and a class's page lists its members.

### Namespaces

| Namespace | What it contains | Package | Start with |
|---|---|---|---|
| [TXTextControl.TXSheetControl.AspNetCore](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-aspnetcore/llms-full.txt) | The Tag Helper that renders the browser editor in a Razor page with its stylesheet and scripts, its options and the static assets of the editor | `TXTextControl.TXSheetControl.AspNetCore` | [TXSheetControlTagHelper](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-aspnetcore/txsheetcontroltaghelper/llms-full.txt), [TXSheetControlOptions](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-aspnetcore/txsheetcontroloptions/llms-full.txt) |
| [TXTextControl.TXSheetControl.Data](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/llms-full.txt) | Server-owned data sources and queries, an HTTP tabular-feed adapter and the binding of a workbook to them | `TXTextControl.TXSheetControl.Server` | [DataSourceRegistry](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/datasourceregistry/llms-full.txt), [HttpDataSource](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/httpdatasource/llms-full.txt) |
| [TXTextControl.TXSheetControl.Server](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/llms-full.txt) | The processing entry point and the document model it owns: workbooks, worksheets, cells, ranges, tables, charts, dashboards, mail merge, fonts and the options for loading and saving | `TXTextControl.TXSheetControl.Server` | [ServerSheetControl](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/serversheetcontrol/llms-full.txt), [Workbook](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbook/llms-full.txt), [Worksheet](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/llms-full.txt) |

### Conventions of the .NET API

- **Asynchronous methods.** Methods whose names end in `Async` return tasks. Await them before you use their results or dispose their owner.
- **Indices.** Collection indices are zero-based.
- **Signatures.** Nullable annotations and optional arguments with their default values appear in the signatures.

How the names of the document API are chosen, and why the spreadsheet `Range` is not `System.Range`, is explained in [.NET API Names](https://docs.textcontrol.com/tx-sheet-control/overview/dotnet-api-names/llms-full.txt).

### Find the Right Namespace

| If you want to | Start in |
|---|---|
| Load, change, calculate, merge or save a workbook without a browser | `TXTextControl.TXSheetControl.Server`, with [ServerSheetControl](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/serversheetcontrol/llms-full.txt) |
| Show the browser editor in an ASP.NET Core Razor page | `TXTextControl.TXSheetControl.AspNetCore`, with [TXSheetControlTagHelper](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-aspnetcore/txsheetcontroltaghelper/llms-full.txt) |
| Supply data to a workbook from a query or an HTTP feed you control | `TXTextControl.TXSheetControl.Data`, with [DataSourceRegistry](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/datasourceregistry/llms-full.txt) |

The pages of [.NET](https://docs.textcontrol.com/tx-sheet-control/getting-started/document-processing/dotnet/llms-full.txt) in Getting Started and of [Document Processing](https://docs.textcontrol.com/tx-sheet-control/document-processing/llms-full.txt) show these classes at work.

### Pages in This Section

- [TXTextControl.TXSheetControl.AspNetCore](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-aspnetcore/llms-full.txt): the Razor Tag Helper, its options and the editor's static assets.
- [TXTextControl.TXSheetControl.Data](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/llms-full.txt): data sources, queries and workbook data binding.
- [TXTextControl.TXSheetControl.Server](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/llms-full.txt): `ServerSheetControl` and the document model.
- [TXTextControl.TXSheetControl.Blazor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/llms-full.txt): the editor component, browser host, options and callback data.

---

## In This Section

- [TXTextControl.TXSheetControl.AspNetCore Namespace](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-aspnetcore/llms-full.txt): Mount the browser editor in ASP.NET Core with the TXSheetControlTagHelper, TXSheetControlOptions, protected static assets and optional font endpoints.
- [TXTextControl.TXSheetControl.Blazor Namespace](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-blazor/llms-full.txt): Embed the spreadsheet editor in Blazor Server and WebAssembly with the TXSheetControl component, BlazorSheetControl, SheetControlOptions and RibbonOptions.
- [TXTextControl.TXSheetControl.Data Namespace](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-data/llms-full.txt): Connect workbooks to server-owned data with IDataSource, DataSourceRegistry, HttpDataSource, DataSnapshot and WorkbookDataBinding in the .NET Data namespace.
- [TXTextControl.TXSheetControl.Server Namespace](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/llms-full.txt): Use the TX Sheet Control .NET server API for workbook processing, native cell and floating barcodes, live sources, mail merge and document exports.

---

## Nearby

- **Previous:** [API Reference](https://docs.textcontrol.com/tx-sheet-control/reference/llms-full.txt)
- **Next:** [TXTextControl.TXSheetControl.AspNetCore Namespace](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-aspnetcore/llms-full.txt)
