From the previous post, these are the major steps.
1. Install prerequisites for deploying through TFS
2. Deploy the silverlight application
3. Configuring IIS
4. Database configuration
In this post, We'll cover
1. Install prerequisites for deploying through TFS
Silverlight deployment to a remote machine can be done in many ways. In this guide, we assume that the code is available in Team foundation server, and you want to deploy it to a remote machine.
(Note: If you do not use Team foundation server, you can open your silverlight project and directly publish it to the remote machine.)
In order to deploy the code from the Team foundation server, to the remote machine, An IIS extension called "Web deployment tool" should be installed on the remote machine(where you want to install the app). When you install this, the Remote Agent Service also should be installed. Ensure that you select it, while installing. The Remote Agent service communicates with Team Foundation Server and deploys the application.
a. Create Webdeploy account
b. Install Remote Agent Service
c. Start Remote Agent Service
a. Create Webdeploy account
Go to control panel-->Administrative Tools --> Computer Management
Right Click to Create a User
Add the user to the list of remote desktop users.
This user account is to be used when creating the build definition and giving the credentials for automated deployment.
b. Install Remote Agent Service
If you already have installed IIS on the remote machine, check the control panel to see if Web deployment tool is available. If it is available, Click Change/Repair and install the Remote Agent Service.
If not Download Webdeploy and install it.
c. Start Remote Agent Service
To start the Web Deployment Agent Service, click Start --> Control Panel, Administrative Tools--> Services.
Find Web Deployment Agent Service. If it is not started, right-click it and select ‘Start’. You can also set the startup type ‘Automatic’
..continued on Part 3
No comments:
Post a Comment