« Previous Next »

Thread: Best approach for publication to remote server

Last post 03-26-2009 11:30 PM by SuperTramp. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 03-20-2009, 10:35 PM

    Best approach for publication to remote server

    I am actively looking at FTP publishing. Anyway, before getting stuck into this more it crossed my mind that there may be other more appropriate ways to achieve what I need and hope someone can guide me. My needs are relatively simple:

    • Visual Studio 2008 to develop an ASP.Net/C# application on Windows Server 2008, with IIS 7.0
    • Publishing to a Windows Server 2008 / IIS 7.0 machine across the Internet, which is running on a virtual machine I own (in the sense I have full admin rights)
    • Upload speed from the development machine isn't great (128kps), with a download of 768kps
    • The application in question isn't too large. Buried amongst the various directories are a couple of hundred .gif files but these almost never change, so the delta between compiles is generally very small.

    I am interested to know what options are available to me. I want to mimimize the time for publication (with the FTP publishing approach it seems that the entire application is sent to the server, even if I have only changed a line of logic). Even though I am not even completing the publishing (because of an error I receive which is mentioned in a seperate thread I opened), I am still seeing this take upwards of 15 minutes each time, which is kinda crazy when I have a small change to make. Are there any more intelligent ways to publish my application?

    Any pointers?

    Thanks.

    Mark

  • 03-20-2009, 11:28 PM In reply to

    Re: Best approach for publication to remote server

    By the way, having published my site initially, I tested with a a single, one-line change to my app and the publishing process took over 25 minutes (because the entire site is deleted and uploaded again).

    In 2009, I have to believe there's a more intelligent way to update a remote web site :-) What am I missing?

    Thanks.

    Mark

  • 03-26-2009, 8:56 AM In reply to

    Re: Best approach for publication to remote server

    Hi,

    Below is a workaround approach to avoid uploaded the entire site by using XCopy feature.

    1.Publish website locally
    2.Open the precompiled web site in Visual Studio
    3.Click “Website” menu, Click “Copy web site…”
    4.Connect to the remote site
    5.Manually replace the Bin folder and the changed files

    I hope this information helpful for you.

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • 03-26-2009, 11:30 PM In reply to

    Re: Best approach for publication to remote server

    Do you control the server side of this scneario.  In other words, do you need to use FTP? 

    The IIS team has developed a technology which should be much better for doing incremental publishing/syncing.  It call the Web Deployment Tool.  It can be used to sync incrementally over HTTP.  The server side of the equation is either a standalone agent service or the same service which IIS 7 remote administation is hosted in. 

    Any ways, this may be totally non-applicable to you.  But if it does apply, checkout the downloads page and the forum. 

    (Visual Studio 10 will contain integration with this, as has already been demonstrated in their recent tech preview)

Page 1 of 1 (4 items)
Microsoft Communities