Developing MVC applications

Once you create an MVC application and perform the initial setup, you can start developing its functionality.

Retrieve content on MVC sites

See examples on how you can retrieve Kentico objects in your MVC application.

Generate classes for Kentico objects

Generate code files that allow you to work with and retrieve Kentico objects. You can generate code files for Page typesCustom tables and Forms.

Provide smart search on MVC sites

Make sure smart search indexes stay up to date so that you can provide search functionality on your MVC site.

Add preview mode support for MVC sites

Allow your content editors to display the latest version of pages before they are published.

Display shared content in MVC applications

Display reusable content modeled by content editors.

Work with page attachments in MVC applications

Display and work with page attachments on your MVC site.

Localize data on MVC sites

Localize resource strings stored in Kentico as well as validation results and model properties.

Handle 404 Not Found globally in MVC applications

Return a ‘404 Not Found’ page when no controller or controller actions is found or when an action returns HttpNotFoundResult.

Test MVC controllers

Provide tests for the logic implemented in your MVC controllers.

Improve performance of MVC applications

Configure web farms to scale performance and set up caching of data and output.

Debug SQL queries with Glimpse on MVC sites

Set up Glimpse in your MVC application and see the executed SQL queries.