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
- Open your MVC project in Visual Studio.
- Select Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution...
- Search for Kentico.
- Install the necessary packages.
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:
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.
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:
- Retrieving of content
- Preview mode support
- Page builder
- Form builder
- Media libraries
- Integration with Xperience users
- Data annotation localization
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
NuGet package that provides a framework for creating automated tests for the Xperience API. Contains base classes for tests and additional supporting API.
Was this page helpful?