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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Why are VB files in Admin sections of Install package?Why are VB files in Admin sections of Install package?
Previous
 
Next
New Post
11/25/2006 5:31 PM
 

This is not so much a criticism as much as my education. I re-introducing myself to DNN and recently downloaded 4.3.6. In comparing the Install Package to the Source Package (as I may create a setup project for deployment), I noticed all the folders under Admin and AppCode in the Install package had their VB files there. I tried deleted them before testing (as I never deploy ASP.Net apps with VB files) and it would not install.

I guess I am curious why the class files could not have been compiled into DLLs instead of deploying the VB files (or could they be compiled)?

Thanks,

Ken

 
New Post
11/28/2006 8:22 PM
 

This didn't get posted for a couple of days so I just wanted to get it back closer to the top to see if I could get some response.

Ken

 
New Post
11/28/2006 8:40 PM
 
in ASP.Net, the code behind files get compiled on runtime (and cached).

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/28/2006 10:14 PM
 

OK. I can buy that. Then why do we generally build our projects into DLLs in other areas? Isn't it to save the time of waiting for the source to compile at runtime (and to protect the source from corruption)?

I really am trying to learn why a production (although open source) product like DNN would be architected this way? Should I be constructing my ASP.Net apps the same?

Ken

 
New Post
11/29/2006 12:11 AM
 
There are 2 ways to deploy .Net 2.0 applications

1) Xcopy: This includes all the files including the source files and DNN compiles pages/code as it is accessed (Dynamic  Compile)

2) Precompiled:  You can also choose to Deploy a web site from within VS and this pre-compiles are the code into another directory and then you can use Xcopy to copy these files to the web server instead.  In this case no source is installed on the server.  When you deploy this way you also have the option of compiling the aspx pages as well, but then they would not be editable (cannot fix markup issues without recompiling and redeploying.  Also, it you want to deploy this way make sure there are not modules installed, since the Deploy process compiles everything under the web site directory.  It is just cleaner install that way, and once copied to server you can then install the modules you want to.
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Why are VB files in Admin sections of Install package?Why are VB files in Admin sections of Install package?


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