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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0vb extension in upload filesvb extension in upload files
Previous
 
Next
New Post
1/21/2008 5:32 AM
 

hi

when i upload my site  in a virtual directory on host,i see some file with *.vb extensions(like  Default.aspx.vb) please tell me why this files are whit *.aspx files.

 thanks

  hadi

 
New Post
1/21/2008 9:09 AM
 

because these .vb files contain the code behind, that gets compiled on demand, when the page is displayed.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/22/2008 2:40 AM
 

thanks

i think you are trying to say that when each visitor vist my site that vb code behind has to be compiled, is that right?

my load web site is realy slow ,what do you think ? is that because of that complieing (I mean the code behind the aspx pages)?

 
New Post
1/26/2008 4:19 AM
 

can i compile my site and upload it?

 
New Post
1/26/2008 10:37 AM
 

hadi riyahiyan wrote

thanks

i think you are trying to say that when each visitor vist my site that vb code behind has to be compiled, is that right?

Not exactly.  On the first visit to the website it will load slow because everything is dynamically complied at that time and put into grandular assemblies.  Each subsequent load will be faster because it doesn't have to compile and load all the assemblies.  So this dynamic compile (unlike classic ASP) only happens *one* time.

I will say though that if you change a file in /bin or modify the web.config it will cause a full recompile.  If you just changed a VB file, then it would only recompile that granular assembly.

my load web site is realy slow ,what do you think ? is that because of that complieing (I mean the code behind the aspx pages)?

It's hard to say without knowing more information.  It could be your host, your connection, the content your loading, a number of factors.  But the compilation will only affect the first visit  If your getting incredible slowness on each page request (> 10 seconds lets say) then I would start looking at your hosting environment as well as yourown connection.

Finally to answer your last question, if you want top put your files into single assemblies, you can by using the Web Application Project (WAP) model.  Michael Washington has some great tutorials on it at http://www.adefwebserver.com

 

HTH,

Chris


------------- w00t!
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0vb extension in upload filesvb extension in upload files


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