Kentico provides integration NuGet packages that are required for the development of MVC websites. The following types of packages are available:
New MVC projects created by the Installer automatically contain the required integration 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.
Kentico.AspNet.Mvc integration package
The Kentico.AspNet.Mvc package contains all items necessary to make your MVC application work with the connected Kentico application. The package adds assemblies with the Kentico. prefix that allow you to integrate and use various features, such as:
- Retrieving of content
- Preview mode support
- Page builder
- Form builder
- Media libraries
- Working with users
- Data annotation localization
Additionally, the package has a dependency on theand Kentico.LanguagePack.English integration packages. This ensures that the installation automatically includes all Kentico API assemblies and resources that you need in an external application.
Important: Always ensure that the version of the installed Kentico.AspNet.Mvc package matches the version of your Kentico application. For example, if you are using Kentico 12.0.1, you need to use the 12.0.1 version of the Kentico.AspNet.Mvc package. Learn more about applying hotfixes to your Kentico installation.
The Kentico.Libraries package contains all assemblies that you need to work with Kentico in an external application. Installation automatically includes other NuGet packages with third-party libraries that are required by the Kentico API.
Other integration packages
NuGet package containing files required for the English localization of Kentico. Individual Kentico features depend on the localization files.
This package is a dependency of the Kentico.AspNet.Mvc integration package, so it is installed automatically for Kentico MVC projects.
NuGet package that provides a framework for creating automated tests for the Kentico API. Contains base classes for tests and additional supporting API.
Was this page helpful?