Share via


Tip #39: Did you know… How to cancel a remote web operation in Visual Studio 2008?

In VS2005, when you connected to an FTP or FrontPage server, the IDE would not let you intervene to cancel the operation.  In VS2008, during most any operation that has you connecting to a remote source via FTP or FrontPage Server Extensions, you can hit the “Esc” key, and the IDE should cancel or give you the option to cancel the impending operation.  This can be useful if you experience network latency problems with whatever server you’re trying to connect to, or realize you need to cancel in the midst of a more costly operation.  Some simple examples of situations when you can hit escape are: doing any sort of file operation in a remote web site, such as add/delete/renaming files, opening a large web site, and when using Publish Web to publish a web to a remote location.

You’ll notice that you get the following message on the status bar when doing an operation in a remote web:

 esctocancel1

And you’ll get the following dialog if you hit esc during a publish:

esctocancel2

John Dundon
SDET | Visual Web Developer

Comments

  • Anonymous
    December 29, 2008
    PingBack from http://www.codedstyle.com/tip-39-did-you-know%e2%80%a6-how-to-cancel-a-remote-web-operation-in-visual-studio-2008/

  • Anonymous
    December 31, 2008
    My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. New in Visual Studio Gallery: Delphi Prism - Delphi programming for .NET in Visual Studio. The Web Developer Tools Team posted an

  • Anonymous
    December 31, 2008
    Hi, This is nice article. Thanks for the info. Thanks, Thani

  • Anonymous
    January 02, 2009
    Wnant to unsubsreib DID YOU KNOW Tip. Thank ypo THEA REMER

  • Anonymous
    January 07, 2011
    I dont want this taking my home page away,please send my homepage back.