Starting from Kentico 9 development of ASP.NET MVC 5 applications is supported. This repository contains a sample web application Dancing Goat
that demonstrates all features related to MVC development support. We hope it helps you when building your projects.
The repository consists of the following projects:
- DancingGoat - sample ASP.NET MVC 5 application built with Kentico.
- Kentico.Web.Mvc - provides features for development of ASP.NET MVC 5 applications with Kentico:
- Kentico.Search - provides an improved API for Kentico smart search and working with search results.
- Kentico.Newsletters - provides an improved API for management of Kentico newsletter subscriptions.
- Kentico.Glimpse - provides Kentico SQL debug information via the Glimpse web diagnostic platform.
- IIS 7.5+
- Microsoft .NET Framework 4.5+
- Visual Studio 2013+
- Install Kentico.
- Import the Dancing Goat site from the
webtemplates/DancingGoatMvc.zip
import package. - Enable web farm in the automatic mode.
- Rename the
src\DancingGoat\ConnectionStrings.Template.config
file toConnectionStrings.config
. - Rename the
src\DancingGoat\AppSettings.Template.config
file toAppSettings.config
. - Copy the
CMSConnectionString
connection string from the Kenticoweb.config
file to thesrc\DancingGoat\ConnectionStrings.config
file. - Copy the
CMSHashStringSalt
app setting from the Kenticoweb.config
file to thesrc\DancingGoat\AppSettings.config
file. - Open the
KenticoMvc
solution in Visual Studio and run the Dancing Goat web application. - Open the Smart search application and rebuild the
Dancing Goat MVC
search index.
Note: The initial build can take a little longer as it needs to restore NuGet packages.