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.zipimport package. - Enable web farm in the automatic mode.
- Rename the
src\DancingGoat\ConnectionStrings.Template.configfile toConnectionStrings.config. - Rename the
src\DancingGoat\AppSettings.Template.configfile toAppSettings.config. - Copy the
CMSConnectionStringconnection string from the Kenticoweb.configfile to thesrc\DancingGoat\ConnectionStrings.configfile. - Copy the
CMSHashStringSaltapp setting from the Kenticoweb.configfile to thesrc\DancingGoat\AppSettings.configfile. - Open the
KenticoMvcsolution in Visual Studio and run the Dancing Goat web application. - Open the Smart search application and rebuild the
Dancing Goat MVCsearch index.
Note: The initial build can take a little longer as it needs to restore NuGet packages.