Web Site Deployment Instruction<br />Scope<br />This document describes the process, tools and configurations of Federated Database Console deployment. But it is not restricted to this project only. For automated deployment script please refer to http://www.cnblogs.com/misaxi/archive/2011/03/18/automated-deployment-for-websites-and-web-services.html<br />Deployment Process Overview<br />Project Configuration<br />Create New Configuration<br />Create QA1 and QA2 for deploying package to two application server. And this is also applied to following configurations.<br />Add Config Transforms<br />Execute the same action on FederatedDBService project.<br />Then, we will get a Web.QA.config for QA configuration we created previously.<br />Change DB Connection Strings<br />Specify connectionStrings In Web.QA.config for both Home and FederatedDBService projects. The configuration set here will replace the configuration in Web.config if the project has been built because the attribute specified is xdt:Transform="Replace". Basically, the only change is the value of Data Source of each connection string (e.g. Data Source=CNSHN13DB02VI01).<br />Configure Package/Publish Web<br /><ul><li>Open properties window of website project
Configure parameters in the Package/Publish Web section as following
Create folder, "C: FDB_DEPLOY", on target servers and share "FDB_DEPLOY" with writing permission</li></ul>Deployment<br /><ul><li>Copy a new version of FDBDeploy.ps1 under $FederatedDBConsoleDeployment and edit its variables according to the environment.
Execute PowerShell script</li></ul>After Deployment<br /><ul><li>Ensure the runtime of FDB and FDBService is ASP.NET 4.0
Configure wildcard for FDB only to support ASP.NET MVC
Rename Application Name to FDB and FDBService accordingly
Configure Integrated Windows authentication for FDB and FDBService