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 ...Can you remove *.vb and other files from 4.3.1 Install?Can you remove *.vb and other files from 4.3.1 Install?
Previous
 
Next
New Post
7/1/2006 11:01 PM
 
The ASP.NET 2.0 compilation model no longer requires you to pre-compile your .vb files - they are compiled on the fly. Shared code is typically placed in the App_Code folder, while code-behind files reside in the same folder the .ascx is in. The bin folder is technically speaking no longer necessary in ASP.NET 2.0, but it's still supported for legacy purposes.
 
New Post
7/1/2006 11:58 PM
 
Of course you do not need to pre-compile, but unless you're changing code it provides better performance.  I'm not sure I'd agree the bin folder is no longer necessary, since I compile my custom modules and place the dll's there - as do others.  Not sure how far you'd get without it, but it might be interesting to test out.  Of course, that would only work if you did have a source version I would have to assume. 
 
New Post
7/2/2006 9:29 AM
 
The only substantial performance enhancement pre-compilation provides in ASP.NET 2.0 is with the initial compile, so unless you aggressively recycle your application pool and have a substantial amount of code that must be compiled, you won't see much of a difference at all. The primary benefit of pre-compilation is for developers who wish to distribute their applications without the source code.

Clearly the bin folder is still supported for backward compatibility, or where for example you have to use legacy .dll's in your application, as I mentioned before. However, a pure ASP.NET 2.0 app that doesn't rely on any third party applications will have little use for this folder.
 
New Post
7/2/2006 9:45 AM
 
Forgot to add - the reason I mentioned the fact that source doesn't need to be pre-compiled in the first place is that DNN 4.* may be a mix of pre-compiled code and code that is compiled on execution. So to answer the original question - those .vb files may be required, even if it is the install version, if they weren't pre-compiled into the DNN assemblies.

It would make sense for a mammoth application like DNN to have at the very least the shared code pre-compiled since compiling all of it every time the application restarts doesn't seem feasible to me.
 
New Post
7/2/2006 11:35 AM
 

Presstopia wrote
It would make sense for a mammoth application like DNN to have at the very least the shared code pre-compiled since compiling all of it every time the application restarts doesn't seem feasible to me.

Bingo - that would be your performance gain.  In a number of posts related to performance, one common question has been if you're running source vs. install.  The only different scenario would be under a 64 bit IIS install.  I'd like to see the JIT compilation performance there on DNN. 

You're right - unless you've precompiled the code he will need to keep those files.  I scanned my 4.3.1 install version and did not see that many.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Can you remove *.vb and other files from 4.3.1 Install?Can you remove *.vb and other files from 4.3.1 Install?


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