Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Cannot build the DNN site in VS 2012Cannot build the DNN site in VS 2012
Previous
 
Next
New Post
4/10/2014 1:34 AM
 
Dear Wes,

Sorry for my ignorance. As you said that we do not need to compile/ deploy DNN but then how we will compile our custom modules which are under DNN WSP / DesktopModules folder.

Also how would install.zip wouldhave my custom modules?

I am asking this because I am already compiling DNN 6.2.7 website using VS 2010 and framework 4.0 and publishing the same on server. Everything works fine apart from the options in the control panel i.e. Admin, Host, Modules, Pages and other text from the Manage options.

I have posted the query in another thread. It would be great if you clear my doubts.

Thanks in anticipation
 
New Post
4/10/2014 4:43 AM
 
WSP projects should never need to be compiled - doing so defeats the purpose of that sort of system.
The same goes for the dnn core itself - compiling the core is a flawed concept. There is little to gain in real terms and a lot to loose.
For example the language system fails if the resource files are compiled into a dll and as you have pretty much identified
pretty much all of the dnn core modules are likely to fail in some way.

If you are wanting to build compiled modules then you should use the WAP process and for that - the christoc templates are far
and away the best option to follow.
 
New Post
4/10/2014 4:47 AM
 
With regard to building module installers - the christoc templates include a full set of build tools that help you build install zip files.

If you are trying to do that with a wsp - the internal module engine should be able to build the zip file for you. BUT it wont do the
same if you are trying to make some sort of compiled wsp. DNN doesnt support compiled wsp elements out of the box.
You would have to make your own manual .dnn install manifest for that to work.

It is technically possible to do that - and i have seen some modules that are built that way - but is really is a not by design methodology.

Westa
 
New Post
4/18/2014 8:39 AM
 
Hi Wes,

Thanks for the advise. As per your suggestion, I tried working with christoc templates and found them good. Now my Custom modules can be build / compile and I can only move desired DLL's and the control files.

But even though my custom modules would be kind of WAP model, DNN would still be website (WSP) and what I noticed is that there are still .CS files, for e.g. Default.cs file will still be there on the server.

IMHO keeping .cs files is not at all good idea, what if my server gets hacked and the hacker changes the default.cs file to sabotage my website and since it is WSP model, it won't require any compilation and the changes will take place instantly.

My question is that, is there any workaround to this. So that no .CS files should be there on server.

Thanks & best regards,

Ravindra K Jumrani

 
New Post
4/18/2014 9:20 AM
 
Ravindra,
if someone hacks your server and is able to edit files, editing DNN files might be your smallest isses - and the hacker will be able to replace compiled files as well.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Cannot build the DNN site in VS 2012Cannot build the DNN site in VS 2012


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out