# TXSheetControlFontEndpoints Class

> TXSheetControlFontEndpoints class in the TX Sheet Control .NET API: Optional compatibility routes for the static font assets included with the browser editor.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Namespace:** `TXTextControl.TXSheetControl.AspNetCore`
- **Package:** `TXTextControl.TXSheetControl.AspNetCore` (assembly `TXTextControl.TXSheetControl.AspNetCore.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.AspNetCore > TXSheetControlFontEndpoints Class
- **549 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-aspnetcore/txsheetcontrolfontendpoints/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-aspnetcore/txsheetcontrolfontendpoints/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-aspnetcore/txsheetcontrolfontendpoints/llms-full.txt

---

Optional compatibility routes for the static font assets included with the browser editor.

### Syntax

```csharp
public static class TXSheetControlFontEndpoints
```

### Members

#### Methods

| Method | Description |
|---|---|
| [MapTXSheetControlFonts](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-aspnetcore/txsheetcontrolfontendpoints/maptxsheetcontrolfonts-method/llms-full.txt) | Maps the traditional /sheet-fonts URLs to the bundled static catalog and font files. No backend engine or DI registration is needed. |

### Examples

Configure a complete Razor Pages application. The editor tag helper includes its browser assets automatically; the optional font routes provide compatibility URLs for the bundled static catalog.

```csharp
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using TXTextControl.TXSheetControl.AspNetCore;

var builder = WebApplication.CreateBuilder(Array.Empty<string>());
builder.Services.AddRazorPages();

var app = builder.Build();
app.UseTXSheetControlAssets();
app.MapTXSheetControlFonts();
app.MapRazorPages();
app.Run();
```

### See Also

- [TXTextControl.TXSheetControl.AspNetCore Namespace](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-aspnetcore/llms-full.txt)
- [Font Handling](https://docs.textcontrol.com/tx-sheet-control/deployment/fonts/llms-full.txt)

---

## In This Section

- [TXSheetControlFontEndpoints.MapTXSheetControlFonts Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-aspnetcore/txsheetcontrolfontendpoints/maptxsheetcontrolfonts-method/llms-full.txt): TXSheetControlFontEndpoints.MapTXSheetControlFonts method in the .NET API, with 2 overloads, the parameters endpoints and prefix and a C# example.

---

## Nearby

- **Previous:** [TXSheetControlAssetExtensions.UseTXSheetControlAssets Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-aspnetcore/txsheetcontrolassetextensions/usetxsheetcontrolassets-method/llms-full.txt)
- **Next:** [TXSheetControlFontEndpoints.MapTXSheetControlFonts Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-aspnetcore/txsheetcontrolfontendpoints/maptxsheetcontrolfonts-method/llms-full.txt)
