DNN Sample MVC and SPA (Single Page Application) Modules
Sample projects to create MVC and SPA modules using DNN Platform 8.0
Dnn.ContactList.Api - The data repository for the Contact object
Dnn.ContactList.Mvc - A sample module showcasing MVC support
Dnn.ContactList.Spa - A sample module showcasing SPA support
Dnn.ContactList.Tests - Unit test project for the APIs defined in Dnn.ContactList.Api
The solution depends on following DNN Platform 8.0 nuget packages
DotNetNuke.Core
DotNetNuke.Web
DotNetNuke.Web.Mvc
The nuget packages can be downloaded from our public Nuget server (no credentials needed)
https://build.dnnsoftware.com/guestAuth/app/nuget/v1/FeedService.svc/
Once compiled in RELEASE mode, the installable packages can be obtained from [SOURCE_FOLDER]\Website\Install\Module folder
Following packages are created:
DNN_ContactList_Mvc_01.00.01_Install.zip
DNN_ContactList_SPA_01.00.00_Install.zip
You may download both the MVC and SPA install-packages without compiling from:
The zip file can be downloaded by clicking the link to zip files individually and then clicking the Raw button to download
https://github.com/dnnsoftware/Dnn.Platform.Samples.Mvc/tree/master/Website/Install/Module
You may download the latest version of DNN Platform by either
http://www.dnnsoftware.com/platform/build/nightly-builds
DNN's build server (1 above) will get you the latest version of the installation package of DNN Platform.
The original code is forked from https://github.com/cnurse/DnnConnect.Demo
List View
Add View
![SPA quick settings](readme_images/SPA-Quick Settings.PNG) SPA Quick Settings
MVC Module Settings
PartialView Result and JsonResult Demos