CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 10/23/2007 1:51:16 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 6 Views: 43 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
7 Items, 1 Pages 1 |< << Go >> >|
kevinof
Asp.Net User
Web site on Frontpage extensions - any alternative to Publish?10/23/2007 1:51:16 PM

0/0

I have a web site build with vs 2005 on a remote server using Frontpage extensions. I know I can use the publish option to compile this and push it to a production server. the problem is that publish deletes everything from the destination and when you have a lot of images and other files in the application it takes forever to publish. Is there any other alternative to Publish? (please don't suggest web deployment project as this can not be used with Frontpage extensions).  Can I force Vs to compile the existing site ( I don't want the .vb files on the production server) and then let me do an xcopy or something similiar?

thanks,

Kevin

garrygrimshaw
Asp.Net User
Re: Web site on Frontpage extensions - any alternative to Publish?10/24/2007 9:19:53 AM

0/0

I have the same problem, I'm guessing your needs are similar to mine in that you need to save small changes and view the changes instantly, and only publish when you want to?

I think I may have found a solution, but haven't yet implemented it yet (bear with me).  It basically involves hosting your website twice on your production server.  Something along the lines of mySite_Dev and mySite_Live.  mySite_Dev will point to an area on your file system containing your project and source files and mySite_Live will point to your published files.  So for development you would make changes to http://mySite_Dev and once you were happy publish the files and view them at http://mySite_Live

Hope this makes sense!

kevinof
Asp.Net User
Re: Web site on Frontpage extensions - any alternative to Publish?10/24/2007 10:02:57 AM

0/0

That's more or less what I want with one exception - I was hoping to avoid the publish completely. What publish does (far as I can tell) is first delete your mysite Live contents , then copy from the remote mysite dev to your local system (where vs 2005) is, compile  and then send them back to the ms live on the remote server again -  It takes forever with my application (hours).

 What I am looking at is using msbuild on the remote system. I make all the changes on the dev, test , debug etc then xcopy from dev to a staging area (not quite live) and then do an msbuild to build all the .vb files into a single dll. Once that is done I can xcopy from the staging to the live site. My only problem is that I don't know if this will work and also I have never used msbuild before.

garrygrimshaw
Asp.Net User
Re: Web site on Frontpage extensions - any alternative to Publish?10/24/2007 10:24:14 AM

0/0

I haven't used msbuild either.  How long does your compile build take on it's own? ie, if you just do Ctrl + Shift + B in Visual Studio, does that still take a long time?  If I need to view quick build changes on the mySite_Dev without publishing I save all pages then use the shortcut to do a quick build.  I suppose it depends on how big your application is though.  What I'm thinking is that if you can shortcut compile on your dev area first then use xcopy to copy only your 'live' files (aspx, bin folder etc) to your staging area and then subsequently live.  Or if you want to be really clever, instead of xcopy, execute a WScript to loop through your source files and copy only recently modified files over? This would ensure that all your images etc don't get copied over all the time.

kevinof
Asp.Net User
Re: Web site on Frontpage extensions - any alternative to Publish?10/24/2007 10:49:58 AM

0/0

The compile itself is not the problem. That only takes a couple of minutes. Its the publish that kills it. We have a lot of images in the application and publish deletes and re-copies these over during the publish process and its this that takes hours.

I'll contine on with msbuild and see if I can get a solution working.

 

thanks,

Kevin

kevinof
Asp.Net User
Re: Web site on Frontpage extensions - any alternative to Publish?10/24/2007 1:56:44 PM

0/0

Ok I have it!  Should have used aspnet_compiler instead of msbuild. What you need to do is log onto your remote system and run the following (I stuck it into a .bat file).

C:/winnt/microsoft.net/framework/v2.0.50727/aspnet_compiler.exe -p c:\source web site  -v /cstemp -u c:\target web site

 where the source web site is your development (mysite dev) and target is your live or staging site. The -v switch is a temporary dir that it will use (and create and delete) and the -u means only compile the code files but leave the markup files in place - this is like vs2003 where you had a single dll in the /bin directory, .aspx file but no source.

After I run this I use xcopy to refresh the my production server from the staging area (target web site). Now I can edit remotely, save and run and then one bat file to build and copy.

 -Kevin 

 

garrygrimshaw
Asp.Net User
Re: Web site on Frontpage extensions - any alternative to Publish?10/25/2007 8:17:25 AM

0/0

Hey nice one, that's good to know - never used the command-line compile utility before but it looks like it has it's advantages.  Cheers.

7 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
How to Do Everything with Microsoft Office FrontPage 2003 Authors: David Plotkin, Pages: 464, Published: 2003
FrontPage 2002 Bible Authors: David Elderbrock, David Karlins, Pages: 902, Published: 2001
Successful Ict Projects in Frontpage Authors: R S U Heathcote, Bonie Ngowi, Pages: 208, Published: 2002
Sams Teach Yourself Microsoft Office FrontPage 2003 in 24 Hours Authors: Rogers Cadenhead, Pages: 432, Published: 2003
CYA Securing IIS 6.0: Covering Your A** by Getting it Right the First Time Authors: Chun Hai Cheah, Ken Schaefer, Chris Peiris, Pages: 397, Published: 2004
Successful ICT Projects in FrontPage 2000 Authors: Robert Samuel Heathcote, Pages: 200, Published: 2005
Special Edition Using Microsoft Office FrontPage 2003: Special Edition Authors: Jim Cheshire, Paul Colligan, Pages: 1080, Published: 2003
Getting Started: Web Page Design with Microsoft Frontpage 2000 Authors: Deborah Morley, Pages: 370, Published: 1999
FrontPage 2003 All-in-One Desk Reference For Dummies: all-in-one desk reference Authors: John Paul Mueller, Pages: 792, Published: 2004
Expert F# Authors: Don Syme, Adam Granicz, Antonio Cisternino, Pages: 609, Published: 2007

Web:
Web site on Frontpage extensions - any alternative to Publish ... Web site on Frontpage extensions - any alternative to Publish? Last post 10-25- 2007 4:17 AM by garrygrimshaw. 6 replies. Sort Posts: ...
Your Hosting Control Panel: Using Frontpage (Frontpage extensions ... Before you can publish an html file to your web site with FrontPage, ... What are FrontPage server extensions? Are there any precautions that I need to be ...
JoomlaWorks | The Joomla! & Mambo Professionals Spice up your Joomla and Mambo website with 2 great extensions! Frontpage Slideshow. Frontpage Slideshow UPDATE: Frontpage Slideshow version 2.0.0 out NOW ...
Microsoft FrontPage Extensions (Third-Party Product Integration) In such a situation it is neccessary to remove all _vti_ directories, re-enable the website for FrontPage Extensions and then re-publish the website: ...
Attention FrontPage users: End of FrontPage Extensions support on ... If your Web site does NOT use any FrontPage-specific features, such as themes, ... and does not require FrontPage extensions to publish Web sites. ...
using frontpage without the server extensions If, for some reason, publishing your website with FrontPage doesn't work, ... an FTP program to publish to a server with the FrontPage extensions installed. ...
Cozahost: Help - publish your site After you enabled FrontPage extensions, follow these steps to publish your web site:. 1. Start FrontPage on your PC and open the web site on your computer ...
Microsoft FrontPage support documentation - Part of the Efficient ... Installing FrontPage Extensions for your site does not install the Microsoft ... need to re-publish your local "web" to the server after making any changes. ...
Using FrontPage With Your Commerce Blvd Hosted Account Your domain name; Your user id; Your request for FrontPage extensions. Confirmation that you have back-up of any web pages currently on the site. ...
How do I enable FrontPage server extensions? The FrontPage 98 server extensions allow FrontPage 98 to automatically publish your web site, and use the FrontPage Components (formerly known as WebBots) ...




Search This Site:










visual studio 2005 toolbox utility

toolboxitem fail to drag and drop

different source code languages in same project?

vs 2005 exits when i add reference.

looking for sql formatter plug in

how to get a datagrid item values in pageload event

what about windows forms development?

how to share a library file

don't appear solutions in vs2005!

help! clipboard is filling up my toolbox!

recent projects > open websites option missing?

ability to deploy projects developed on remote fp based server

add-ins problem - sp1

dynamic documentation from documentation tags i source code

visual studio 2005 and .net framework 1.1

tips to get the fast build in vs2005 web projects

xsd conversion from web project into dll project

i need an advice

working with the tab index on autopost back using vb.net

asp.net web configuration tool

messages to debug window from custom build provider

quick start tutorials and vs.net

how do i cancel build

vb6 vs vb2005 on ide navigation (integrated design environment navigation)

how can i see line number in vs 2005

visual studio won't regenerate designer.cs class...

vs 2005

coding on mac

problems in vs2005 after upgrading to active directory

visual studio 2005- can it build asp 1.1 applications?

  Privacy | Contact Us
All Times Are GMT