---
title: Web farms
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

List of examples:

### Create web farm synchronization tasks

```csharp
// Sets the properties for the task
int objectId = 42;

// Creates the web farm task
WebFarmHelper.CreateTask(new InvalidateObjectWebFarmTask
{
    ObjectId = objectId,
});
```

[> Back to list of examples](#toc)
