Export (0) Print
Expand All

VSWebSite Methods

The VSWebSite type exposes the following members.

  Name Description
Public method AddFromTemplate Creates a new ProjectItem in the Web site project.
Public method EnsureServerRunning Starts the ASP.NET Development Server, if necessary, and returns the URL for the Web site.
Public method GetUniqueFilename Returns a filename that is unique within the specified folder, using the specified root name and file name extension.
Public method PreCompileWeb Compiles the Web site and writes the compiled output to the specified folder.
Public method Refresh Refreshes the display to account for changes that have been made to the Web site outside of Visual Studio.
Public method WaitUntilReady Blocks all method calls until background processes have finished executing.
© 2014 Microsoft