Installing Xperience integration packages

Kentico provides integration NuGet packages that are required for the development of MVC websites using Xperience. New MVC projects created by the Installer automatically contain the required integration packages.

Every MVC web project must have the following package installed (including all dependencies):

See the following sections to learn about the other types of available packages:

Installing Kentico integration packages manually

  1. Open your MVC project in Visual Studio.
  2. Select Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution…
  3. Search for Kentico.
  4. Install the necessary packages.

Kentico.Xperience.AspNet.Mvc5

The Kentico.Xperience.AspNet.Mvc5 package contains all files and resources necessary to make your MVC application work with the connected Xperience application. Includes various content items, web.config transformations, and code assemblies (indirectly via dependencies on other packages).

The package has a dependency on the following integration packages:

  • Kentico.Xperience.AspNet.Mvc5.Libraries
  • Kentico.Xperience.Libraries

Overview of the Xperience integration packages for MVC web projects

Important: Always ensure that the version of the installed Kentico.Xperience.AspNet.Mvc5 package matches the version of your Xperience application. For example, if you are using Xperience 13.0.10, you need to use the 13.0.10 version of the Kentico.Xperience.AspNet.Mvc5 package. Learn more about applying hotfixes to your Xperience installation.

Kentico.Xperience.AspNet.Mvc5.Libraries

The Kentico.Xperience.AspNet.Mvc5.Libraries package contains Xperience assemblies intended for the development of ASP.NET MVC 5 applications.

This package allows developers to separately install the Xperience MVC assemblies into custom Class Library projects, without needing to add the entire Kentico.Xperience.AspNet.Mvc5 package and its content items (which are only intended for MVC web application projects).

The provided assemblies have the Kentico. prefix, and allow you to integrate and use various features, such as:

Kentico.Xperience.Libraries

The Kentico.Xperience.Libraries package contains all assemblies that you need to work with the general Xperience API in an external application. General Xperience API assemblies have the CMS. prefix.

Installation automatically includes other NuGet packages with third-party libraries that are required by the Xperience API.

Other integration packages

Kentico.Xperience.Libraries.Tests

NuGet package that provides a framework for creating automated tests for the Xperience API. Contains base classes for tests and additional supporting API.

Kentico.Xperience.Glimpse

NuGet package that provides Xperience SQL debug information via the Glimpse web diagnostic platform.

See: Debugging SQL queries with Glimpse on MVC sites