CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_web_developer_2005_express Tags:
Item Type: NewsGroup Date Entered: 11/3/2005 3:09:41 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 8 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
Addict
Asp.Net User
Copy Web Site & Publish Web Site11/3/2005 3:09:41 PM

0/0

So I need some help understanding this.

I had been using VS2005 Beta 2 to work on an internal site.  To put a new version up on the web server, I used the Publish feature.  Worked great.

A co-worker will be assisting with some of the changes now.  Since she doesn't have VS2005, she downloaded VWD.  I removed my VS2005 and installed VWD so that I could get a feel for what she'll be using (she's new to .NET dev; I'm new to ASP.NET).  One of the things missing from VWD is the Publish feature.  Doh!Surprise [:O]

So my question is, how does this work in terms of compiling code?  Publish precompiles, checks for errors and then publishes it.  Copy Web Site just copies all the files.  Are the files that are copied compiled on the first run?  I'm a little concerned about having the code pages there (code behinds & classes).  Maybe if someone could explain how this works, I'll be able to rest easy.Beer [B]

Thanks!Geeked [8-|]
www.DigitalDeviation.com
billhie
Asp.Net User
Re: Copy Web Site & Publish Web Site11/8/2005 12:43:25 AM

0/0

Yes, copy web does a source level publish of your website and relies on the dynamic compilation of the ASP.Net runtime. As you noted, VWD Express does not include the Publish Web feature, however, you can still run the command line compiler which does the pre-compilation of the web site.  From a Windows command shell you can run aspnet_compiler.exe (located in the .net framework directory) to precompile your site to any disk location. However, this won't push the bits to a remote FTP or HTTP site. For that you need to either use an external tool, or you can open the disk location where you published your web site as a web in VWD and then use Copy Web to push the precompiled bits to your remote server.
Bill Hiebert

Visual Studio Web Tools
Addict
Asp.Net User
Re: Copy Web Site & Publish Web Site11/8/2005 3:17:51 AM

0/0

Thank you for the clarification.

So am I right to assume that precompiled code will execute faster?  It seems like the code I've recently publish with Copy Web Site executes slower than before.  Maybe its in my head.


Thanks again!Cool [H]


www.DigitalDeviation.com
billhie
Asp.Net User
Re: Copy Web Site & Publish Web Site11/8/2005 4:44:55 PM

0/0

It is really hard to say if the precompiled site will compile faster or not. Certainly, the intial page response should be faster since ASP.net does not need to compile the code behind page nor any user controls or the app_code folder. However, what needs to be dynamically compiled depends on whether the web was precompiled updateable or not. If is is precompiled as an updateable web, the markup in the aspx page will still be compiled upon the request of the page (it should be cached thereafter). For non-up[dateable webs the markup in the page is compiled at precompilation time.,  Check out the following link for more information on pre-compiling web sites. http://msdn2.microsoft.com/en-us/library/377y0s6t.aspx


Bill Hiebert

Visual Studio Web Tools
4 Items, 1 Pages 1 |< << Go >> >|



Search This Site:


Meet Our Sponsors:



Other Resources:

Copy Web Site & Publish Web Site - ng.asp-net-forum.visual_web_developer_2005_express - Web Programming Newsgroups Copy Web Site &amp; Publish Web Site, > ROOT > NEWSGROUP > Asp.Net Forum > visual_studio. ... to copy a Web site to a local computer by using the Publish feature. ...
"&" become "&amp;" in QueryString when databinding. - general_asp.net ... How to Publish Web Site with one assemble file of DLL? Publishing a few web forms not the all. ... Cannot copy assembly to website. How to configure site over ...
Web Site Design and Internet Marketing ... and traffic to your real estate website is to publish online press releases. ... could include a copy of the press release on your own website and get that ...
Tandy Leather Factory-Retail and Wholesale Leather and Supplies Find the most complete selection of leather and leathercraft supplies ever assembled on one website. ... Web Specials: August 26 to September 8, 2008 ...
CVS Version Control for Web Site Projects <spacer type="HORIZONTAL" size="100"><a href="act/baseball.htm">Baseball &amp; ... copy of a web site as it appeared one year ago today: ...
Amazon DOES publish "copy protection" information, after all - Managing ... ... he verified does not make copy protection information available on their web site. ... Röyksopp - The Understanding - Australian &amp; New Zealand Release ...
Basic Web Site Maintenance: How to update your website for beginners by ... ... you want to do is to move a copy of all the files from your web site to your local pc. ... New buttons are Publish, Image, Table, and Link. ...
L & P Publishing Cyber Book Shoppe For information on Publishing a Book, Catalog, Web-Page, (Web-Site). We Publish Web Sites under the Construction Name of WebWrightWorks.com by ...
Parenting Magazine offering articles about pregnancy and parenting. Find aricles by child's age or topic.



 
All Times Are GMT