> For the complete documentation index, see [llms.txt](https://docs.umbraco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.umbraco.com/umbraco-cms/13.latest/implementation/learn-how-umbraco-works.md).

# Learn how Umbraco works

Get to know the Umbraco codebase.

Developing an application requires knowledge about the tool you are working with. This section will give you an introduction to the underlying structure of Umbraco CMS.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Routing</strong></td><td>The process from front-end user requests to content delivery.</td><td><a href="/umbraco-cms/13.latest/implementation/default-routing.md">Routing</a></td><td><a href="https://3872888104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgEH4FChbCn7eDDqREvdE%2Fuploads%2Fgit-blob-19eda19e1880547dad43423b16572250bd3f12cb%2Frouting-image.png?alt=media">routing-image (1).png</a></td></tr><tr><td><strong>Custom routing</strong></td><td>Learn how to work with custom URLs and custom MVC routes.</td><td><a href="/umbraco-cms/13.latest/implementation/custom-routing.md">Custom Routing</a></td><td><a href="https://3872888104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgEH4FChbCn7eDDqREvdE%2Fuploads%2Fgit-blob-6ef562a21393890105db290d3b3ed1b689bec360%2Fc-routing-image.png?alt=media">c-routing-image (1).png</a></td></tr><tr><td><strong>Controllers</strong></td><td>Everything you need to know about the different types of controllers.</td><td><a href="/umbraco-cms/13.latest/implementation/controllers.md">Controllers</a></td><td><a href="https://3872888104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgEH4FChbCn7eDDqREvdE%2Fuploads%2Fgit-blob-18d83567ff44b9c7003e5bb45bec51fb8087c597%2Fcontrollers-image.png?alt=media">controllers-image (1).png</a></td></tr><tr><td><strong>Data persistence</strong></td><td>Learn how to create, read, update, and delete data in the Umbraco database.</td><td><a href="/umbraco-cms/13.latest/implementation/data-persistence.md">Data Persistence (CRUD)</a></td><td><a href="https://3872888104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgEH4FChbCn7eDDqREvdE%2Fuploads%2Fgit-blob-33c7e6e117c9d2e064925b3f85abd7d51c8a5f19%2Fdatap-image.png?alt=media">datap-image (1).png</a></td></tr><tr><td><strong>Composing</strong></td><td>Customize the behavior of an Umbraco application at 'start up'.</td><td><a href="/umbraco-cms/13.latest/implementation/composing.md">Composing</a></td><td><a href="https://3872888104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgEH4FChbCn7eDDqREvdE%2Fuploads%2Fgit-blob-84114e14334b77f533d97f61a7d2cda8dcc46b16%2Fcomposing-image.png?alt=media">composing-image (1).png</a></td></tr><tr><td><strong>Services and Helpers</strong></td><td>Learn how to use the core Services and Helpers when extending Umbraco.</td><td><a href="/umbraco-cms/13.latest/implementation/services.md">Services and Helpers</a></td><td><a href="https://3872888104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgEH4FChbCn7eDDqREvdE%2Fuploads%2Fgit-blob-7a6268434f90cd2974a250f8c893ba87c20fd4d0%2Fservices-image.png?alt=media">services-image (1).png</a></td></tr></tbody></table>

## Test your application

This section also includes documentation on different ways to run tests on your code and implementations.

{% content-ref url="/pages/cNCTZvcZwY2bY5gQe0k1" %}
[Integration Testing](/umbraco-cms/13.latest/implementation/integration-testing.md)
{% endcontent-ref %}

{% content-ref url="/pages/9Cd3jNcvQd91r9GQyWxA" %}
[Unit Testing](/umbraco-cms/13.latest/implementation/unit-testing.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.umbraco.com/umbraco-cms/13.latest/implementation/learn-how-umbraco-works.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
