harsh.sheth wrote
i've come to understand that i need to have a ".dnn" file to add the property in order to instruct the module to load the controller class; but i've made the module from scratch, adding all the web user controls and resource files manually as instructed in the book, but its not been instructed how to add a "*.dnn.config" file.
wht do i have to do to add a well formed .dnn.config file ?
Just to clarify this question:
"
.dnn" files are only used when installing Module Packages, so when you are developing your module you don't really need to worry about them since you are configuring the Module Definition manually.
When you do create an installable package, you must create a "
.dnn" file so that DNN knows how to install your module (what controls to use, the controller class, etc.). After installing the module, that "
.dnn" file is placed in the DesktopModules/[YourModuleName] folder and renamed to add a "
.config" extension to the end so that it cannot be downloaded over the web (ASP.Net prevents "
.config" files from being served up from your website). So, the "
.dnn.config" file is simply there as a copy of the "
.dnn" file from the package (with the "
.config" extension there to prevent other users from viewing it). You do not need to create the "
.dnn.config" file.