starter-module-mvc is a MVC module starter project for DNN Platform (formerly known as DotNetNuke) made by and for the DNN Community.
Clone this repo into a clean directory of your choice.
git clone https://github.com/DNNCommunity/starter-module-mvc.git .
Use dnn-cli, which is available as an npm package. dnn-cli can be installed via yarn or npm.
...via yarn:
yarn global add @dnncommunity/dnn-cli
...via npm:
npm install -g @dnncommunity/dnn-cli
Once dnn-cli is installed, this starter project can be installed into an empty directory of your choice.
cd <directory path>
dnn module mvc
- Install DNN in a
.\Website
folder (root of directory in which this project is cloned) - Open solution file in Visual Studio 2019 (Run as Adminstrator...)
- Build in
Debug
orRelease
mode
By default this will compile the project and deploy it to the .\Website
folder.
- DLL and PDB files will be deployed to
.\Website\bin
- All other relevant files will be deployed to
.\Website\DesktopModules\starter-module-mvc
By default this will create a module install package and place in .\Website\Install\Module
so it will be in Available Extensions within DNN (SETTINGS > Extensions > Available Extensions).
Pull requests are welcome. Please open an issue first to document the bug or enhancement details.