---
title: Developing MVC applications
---

> 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).

Once you [create an MVC application](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/starting-with-mvc-development.md) and perform the initial setup, you can start developing its functionality.

> **Info:**&#x20;
>
> #### [Retrieve content](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/developing-mvc-applications/retrieving-content-on-mvc-sites.md)
>
> See examples on how you can retrieve Kentico objects in your MVC application.

> **Info:**&#x20;
>
> #### [Work with page attachments](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/developing-mvc-applications/retrieving-content-on-mvc-sites/working-with-page-attachments-in-mvc-applications.md)
>
> Display and work with [page attachments](https://docs.kentico.com/k11/managing-website-content/working-with-files/page-attachments.md) on your MVC site.

> **Info:**&#x20;
>
> #### [Generate classes for Kentico objects](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/developing-mvc-applications/generating-classes-for-kentico-objects.md)
>
> Generate code files that allow you to work with and retrieve Kentico objects. You can generate code files for [Page types](https://docs.kentico.com/k11/developing-websites/defining-website-content-structure/page-types.md), [Custom tables](https://docs.kentico.com/k11/developing-websites/defining-website-content-structure/custom-tables.md) and [Forms](https://docs.kentico.com/k11/managing-website-content/forms.md).

> **Info:**&#x20;
>
> #### [Display shared content](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/developing-mvc-applications/displaying-shared-content-in-mvc-applications.md)
>
> Display [reusable content](https://docs.kentico.com/k11/developing-websites/defining-website-content-structure/page-types/advanced-content-modeling.md) modeled by content editors.

> **Info:**&#x20;
>
> #### [Display forms](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/developing-mvc-applications/working-with-forms-on-mvc-sites.md)
>
> Display [Forms](https://docs.kentico.com/k11/managing-website-content/forms.md) defined in Kentico on your MVC websites.

> **Info:**&#x20;
>
> #### [Work with consents](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/developing-mvc-applications/working-with-consents-on-mvc-sites.md)
>
> Gather consents from your MVC site's visitors to comply with the requirements of the [GDPR](https://docs.kentico.com/k11/configuring-kentico/gdpr-compliance.md) and other personal data regulations.

> **Info:**&#x20;
>
> #### [Work with Kentico users](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/developing-mvc-applications/working-with-users-on-mvc-sites.md)
>
> Integrate Kentico membership data with your MVC application. Allow visitors to authenticate with Kentico [user accounts](https://docs.kentico.com/k11/managing-users/user-management.md) and authorize actions on your site based on Kentico [roles](https://docs.kentico.com/k11/managing-users/role-management.md).

> **Info:**&#x20;
>
> #### [Provide smart search](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/developing-mvc-applications/providing-smart-search-on-mvc-sites.md)
>
> Make sure [smart search](https://docs.kentico.com/k11/configuring-kentico/setting-up-search-on-your-website.md) indexes stay up to date so that you can provide search functionality on your MVC site.

> **Info:**&#x20;
>
> #### [Add preview mode support](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/developing-mvc-applications/adding-preview-mode-support-for-mvc-sites.md)
>
> Allow your content editors to display the latest version of pages before they are published.

> **Info:**&#x20;
>
> #### [Localize data](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/developing-mvc-applications/localizing-data-on-mvc-sites.md)
>
> Localize resource strings stored in Kentico as well as validation results and model properties.

> **Info:**&#x20;
>
> #### [Handle 404 Not Found errors globally](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/developing-mvc-applications/handling-404-not-found-globally-in-mvc-applications.md)
>
> Return a '404 Not Found' page when no controller or controller actions is found or when an action returns _HttpNotFoundResult_.

> **Info:**&#x20;
>
> #### [Process scheduled tasks](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/developing-mvc-applications/processing-scheduled-tasks-when-developing-mvc-applications.md)
>
> Make sure [tasks scheduled](https://docs.kentico.com/k11/configuring-kentico/scheduling-tasks.md) in the Kentico application are processed in regular intervals.

> **Info:**&#x20;
>
> #### [Test MVC controllers](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/developing-mvc-applications/testing-mvc-controllers.md)
>
> Provide tests for the logic implemented in your MVC controllers.

> **Info:**&#x20;
>
> #### [Improve performance of MVC applications](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/developing-mvc-applications/improving-performance-of-mvc-applications.md)
>
> Configure web farms to scale performance and set up caching of data and output.

> **Info:**&#x20;
>
> #### [Debug SQL queries with Glimpse](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/developing-mvc-applications/debugging-sql-queries-with-glimpse-on-mvc-sites.md)
>
> Set up Glimpse in your MVC application and see the executed SQL queries.

> **Tip:** Learn more about [e-commerce](https://docs.kentico.com/k11/e-commerce-features.md) and [on-line marketing](https://docs.kentico.com/k11/on-line-marketing-features.md) features in MVC at:
>
> - **[Developing on-line stores in MVC](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/developing-on-line-stores-in-mvc.md)**
> - **[Implementing on-line marketing features on MVC sites](https://docs.kentico.com/k11/developing-websites/developing-sites-using-asp-net-mvc/implementing-on-line-marketing-features-on-mvc-sites.md)**
