# TextControlSettings.StaticFilesPath Property

> Specifies or returns the path for static files. Is /TXTextControl.Web/ by default.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Not found:** no package of this release declares this member on this type or on a class it derives from
- **Namespace:** `TXTextControl.Web.MVC`
- **Package:** `TXTextControl.Web` (assembly `TXTextControl.Web.DocumentEditor.dll`, from nuget.org, the private NuGet feed or Text Control Offline Packages)
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web.MVC > TextControlSettings.StaticFilesPath Property
- **445 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/staticfilespath-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/staticfilespath-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/staticfilespath-property/llms-full.txt

---

### Description

Specifies or returns the path for static files. Is /TXTextControl.Web/ by default.

### Syntax

No package of this release declares this member. The declaration below is the reference's, and code that uses it does not compile.

```csharp
public string StaticFilesPath { get; set; }
```

```vbnet
Public Property StaticFilesPath() As String
```

### Examples

`StaticFilesPath` belonged to the older server-control surface. In the current ASP.NET Core integration, use `TextControlSettings.APIRoute` for the corresponding editor configuration.

```csharp
textControlSettings.APIRoute = "Quarterly report";
if (!string.IsNullOrWhiteSpace(textControlSettings.APIRoute))
{
    Console.WriteLine($"APIRoute: {textControlSettings.APIRoute}");
}
```

```vbnet
textControlSettings.APIRoute = "Quarterly report"
If Not String.IsNullOrWhiteSpace(textControlSettings.APIRoute) Then
    Console.WriteLine($"APIRoute: {textControlSettings.APIRoute}")
End If
```

---

## Nearby

- **Previous:** [TextControlSettings.ServicePort Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/serviceport-property/llms-full.txt)
- **Next:** [TextControlSettings.StatusBarColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/statusbarcolor-property/llms-full.txt)
