DNN Source Code (Needed?) and Deployment (How?) - dotnetnuke

Do we need the source code if we will primarily create (advanced) modules and occasionally modify the theme?
How does DNN get deployed from Teamcity / Octopus Deploy?

Your modules, and "skins" should be individual projects, and you should deploy those to production using Packaged ZIP files. That's the proper way to develop/deploy extensions for DNN

1.Yes, you should go to this url http://www.christoc.com/ to learn how to use a template to create a dnn module and create a skin as well.
Thanks to #ChrisHammond for your contribution to dnn community.

Related

DNN : How can I edit the Source code of dnn News module in Existing DNN website?

I have already published dnn website. So Can I add my custom module in it?
I have purchased DNNGoxNews the module with source code from dnn store.
Now I want to modify some of the fields from some user control So How Can I achieve this.
I have already installed the module in my dnn website.But How can I modify the module.
Please point me the right direction.
Thank You
You will want to install this module in a development environment, which typically means a local copy of DNN
Follow this tutorial for how to setup your development environment.
Once that environment is setup, go to the HOST/EXTENSIONS page
Install the SOURCE package of the module you purchased
Open up the Project file, or Solution, in Visual Studio 2015
Make your changes, compile the module/changes
Repackage the module for deployment, if the source code doesn't do it for you automatically you can follow this tutorial.

Selecting GWT module to compile for deployment to App Engine

I introduced additional GWT modules where previously there's only been one in my GWT/GAE project. When deploying to App Engine via Google Plugin for Eclipse I noticed that the plugin compiles all the GWT modules in the project, which is not what I want. I wasn't able to find a way to tell GPE which GWT modules to compile for deployment. Is this at all possible?
Apparently GPE compiles GWT modules in the module list found in Project Properties --> Google --> Web Toolkit so removing modules from there did the trick. I was expecting to find either a way to select GWT modules from the GAE Deployment Dialog or to edit some configuration file.
It has to be admitted that relying on such GPE settings is not a great way to make consistent deployments. Maven-based builds and deployments made outside of Eclipse are likely a better way to go.

Module Development in DNN 7.00.04

I was reading a DNN manual called 'DotNetNuke Module Developers Guide' for developing new modules from scratch.
The manual says to create a class library project and add reference to DotNetNuke project.
I do not find any such project in Community version source code for version 7.00.04. However, I can see DotNetNuke.Web and DotNetNuke.Web.WebClient projects but none that is called DotNetNuke.
There isn't a DNN project, but there is a DotNetNuke.dll, add a reference to that (the project I believe is DotNetNuke.Library)
I would also suggest taking a look at my Templates for DNN, they make doing module development easy http://christoctemplate.codeplex.com/

Including an assembly with your DotNetNuke Module?

I'm developing a DotNetNuke Module using the nonIIS method of module development. Is there any way to include a 3rd-party assembly in your module (when setting it up for deployment)?
I thought about adding it as a reference to the dotnetnuke_nonIIS website project as a whole, but that doesn't seem right considering it's a dependency of the module.
Whatever your local development environment may look like, you will most likely want to be able to deploy the module to a DNN site on its own.
To do that, you can create an installable module zip package - which consists of all of your module assets and a manifest file describing them so that DNN may process them and perform the appropriate actions (run scripts, deploy assemblies to the bin) upon installation.
Check out the DNN wiki for more information about packaging.

Calling app_code folder from web application project

I am developing a module for DotNetNuke and have used a DotNetNuke Compiled Module template to create the module in the DesktopModule folder.
I then get a Web Application Project under the DNN website in my Visual Studio 2008.
Now I want to use DAL and BLL which are created in DNN app_code folder.
But when I add them in code behind it can't find them.
How do I tell my Web Application Project to access the app_code folder in the website "projcet"?
Thanks in advance!
You can't. App_Code is compiled on-the-fly, but even if you compile it prior to deployment somehow, you will have a circular reference (App_Code -> Web Application -> App_Code).
In the web application the Components folder seems to do what app_code folder does.

Resources