Web Site Deployment Instruction<br />Scope<br />This document describes the process, tools and configurations of Federated...
Configure parameters in the Package/Publish Web section as following
Home should be Default Web Site/FDB
FederatedDBService should be Default Web Site/FDBService</li></ul>Deployment<br />Before Deployment<br /><ul><li>Install P...
Enable PowerShell remoting on target servers
Install MSDeploy 1.0 on target servers ( HYPERLINK "file:///Cnshn13db04vshare_sdcMike%20HeWebDeploy_x86_en-US.msi" MSDeplo...
Upcoming SlideShare
Loading in …5
×

ASP.NET Web Site Deployment Instruction

1,983 views

Published on

This document describes the configuration of the automated deployment. For the automated deployment script, please refer to http://goo.gl/IGgIr

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,983
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
22
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

ASP.NET Web Site Deployment Instruction

  1. 1. 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
  2. 2. Configure parameters in the Package/Publish Web section as following
  3. 3. Home should be Default Web Site/FDB
  4. 4. FederatedDBService should be Default Web Site/FDBService</li></ul>Deployment<br />Before Deployment<br /><ul><li>Install PowerShell 2.0 on target servers
  5. 5. Enable PowerShell remoting on target servers
  6. 6. Install MSDeploy 1.0 on target servers ( HYPERLINK "file:///Cnshn13db04vshare_sdcMike%20HeWebDeploy_x86_en-US.msi" MSDeploy 1.0 Installer x86)
  7. 7. 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.
  8. 8. Execute PowerShell script</li></ul>After Deployment<br /><ul><li>Ensure the runtime of FDB and FDBService is ASP.NET 4.0
  9. 9. Configure wildcard for FDB only to support ASP.NET MVC
  10. 10. Rename Application Name to FDB and FDBService accordingly
  11. 11. Configure Integrated Windows authentication for FDB and FDBService
  12. 12. Configure application pool for FDBService
  13. 13. Create a dedicated application pool.
  14. 14. Configure an account belonging to Administration Group.
  15. 15. Configure application pool for FDBService.</li></ul>Reference:<br /><ul><li>http://leethams.wordpress.com/2010/06/12/modifying-directory-permissions-with-web-deployment/
  16. 16. http://vishaljoshi.blogspot.com/2009/02/web-packaging-creating-web-packages.html
  17. 17. http://vishaljoshi.blogspot.com/2010/11/team-build-web-deployment-web-deploy-vs.html
  18. 18. http://msdn.microsoft.com/query/dev10.query?appId=Dev10IDEF1&l=EN-US&k=k(WEBAPPLICATIONPROJECTS.PACKAGEPUBLISHOVERVIEW)&rd=true#thirdparty_hosting_scenarios
  19. 19. http://live.visitmix.com/Archive
  20. 20. http://blogs.technet.com/b/josebda/archive/2010/03/31/experimenting-with-powershell-v2-remoting.aspx

×