This project is an experiment and is not currently recommended for building DNN Persona Bar Modules The goal of the project is to give definititive advice if this can be used securely, but right now it is just an experiment. Use the code here at your own risk.
This is a sample project for integrating Uno Platform's WASM (Web Assembly) target as Dnn (Formerly DotNetNuke) Persona Bar Module.
Currently this sample project is a proof of concept and there are several manual steps to get this running on a Dnn Site. Take a look at the experiment blog I wrote that will help get you started.
Currently there is no simple getting started steps. Below is a series of steps that should help you get going with the code provided here
- Create
Dnn.UnoSample
folder in~/DesktopModules/Admin/Dnn.PersonaBar/Modules
folder on your dnn site - Copy over all folders/files from
Dnn.PersonaBar.Uno.Web
to the newDnn.UnoSample
folder - Build the
Dnn.PersonaBar.Uno.WebApi
project and copy the dlls to the~/bin
directory on your dnn site - Build the
Dnn.PersonaBar.Uno.WASM
project and copy thedist
folder to the~/DesktopModules/Admin/Dnn.PersonaBar/Modules/Dnn.UnoSample
folder on your dnn site. - Follow the steps from my blog Dnn Persona Bar Component Using Uno Platform to get your dnn site configured to render the module.
Uno Platform requires several changes to the web.config
if you are having issues loading your module with script errors, ensure the web.config
changes have been made.
I plan to put together a cake build script for this project that will create a DNN installer file. Until that is completed, use the getting started guide here and be aware your milage may vary.
This sample was created by Andrew Hoefling
- Twitter: @andrew_hoefling
- Website: andrewhoefling.com