Navigation:  Samples > Miscellaneous >

WebLauncher Sample

Previous pageReturn to chapter overviewNext page

This is a sample ASP.NET 2.0 (and 1.1) web project that can be used for launching builds on a remote computer.  The web page prompts for the project file to build, whether to wait for completion (build synchronously or return immediately), and any macros to pass to the project, and then starts the specified build on the computer hosting the ASP.NET web site.  This sample could be tweaked to provide custom inputs for specific builds, etc.

 

Notes:

The sample projects are located in the Misc\WebLauncher subfolder of the Samples path.
The code in the WebLauncher folder is the ASP.NET v2.0 version, and the NET1.1 subfolder contains the ASP.NET v1.1 version.
The Setup.bld project can be used to create a virtual directory for the project and build the project.
The identity element in the web site's web.config file must be configured with an appropriate impersonation account username and password with the necessary rights for performing a build.