Kentico 9 brings support for the development of ASP.NET MVC 5 applications. This repository contains source code for Kentico integration packages and a sample web application Dancing Goat that demonstrates all supported features related to the MVC development with Kentico. To find out more about the design of the sample web application, see the How it works page in the Wiki. The page contains explanations of the decisions made when creating the application and can help you when building your own 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.