1 / 33

Web Deployment Painkillers

FT56. Web Deployment Painkillers. VS 2010. MS Deploy. Vishal R. Joshi http://bit.ly/vijoshi | @vishalrjoshi Web Platform & Tools, Microsoft. Trailer. Web Content, IIS Settings, Databases, Registry, etc. Web.Debug.Config, . Web.Testing.Config,

farhani
Télécharger la présentation

Web Deployment Painkillers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. FT56 Web Deployment Painkillers VS 2010 MS Deploy Vishal R. Joshi http://bit.ly/vijoshi | @vishalrjoshi Web Platform & Tools, Microsoft

  2. Trailer... Web Content, IIS Settings, Databases, Registry, etc Web.Debug.Config, . Web.Testing.Config, Web.Release.Config Environment Specific Configurations Consolidated Web Deployment Site/Server Snapshots & Migration Reusable & Simple Web Packages One Click Publish with Differential Sync VS 2010 + MS Deploy Web Farm Deployment Team Build Integration Extensible & Customizable Update workflow to get nightly deployments MsBuild based Web Publishing Pipeline (WPP)

  3. Cast of Characters QA IT Admin Developer Business Analyst John Bill Kim Alex Demanding & Detached Productive & Knowledgeable Methodical & Conscious Through & Detailed

  4. Gets a cool idea on Team Building App... • May invite people to see the cool app anytime !! Character’s Traits!! • BA • Kim • App always works on this person’s box  • Is fast, smart & loves to code… • Developer • Bill • Finds bugs in Dev’s impeccable code !! • Is always in a rush to see pet bugs fixed… • QA • John • Holds the key to kingdom (aka staging, prod) • Wants to know about the anatomy of the App • IT Admin • Alex

  5. Deployment Environments

  6. Time: Project Kick Off + one week Hey Bill,                 We have our VP of HR visiting us in couple of days & management’s recommendation is to show him the TeleFun demo.  I think the features we have so far are compelling so am super excited about the opportunity, can we possibly set up a demo for day after tomorrow for 3pm? Hi John,                 Would it be possible for you to take a build from Bill & bless it for the demo? Thanks Kim | Business Analyst | Contoso Corporation PS: Where there is Will Bill there is Way 

  7. Deploy Environment: Demo/Debug Server Demo – 1 Get the App Deployed

  8. Time: Project Kick Off + three weeks Hi Bill,                 I believe you already should have access to the TFS box can you actually set up nightly builds for TeleFun at some point.  I don’t mind the daily frankenstein builds but as we get closer to production it will be much better to have daily drops.  Eventually, I am hoping we will set up BVTs and CI too…                 Microsoft says Team Build is easy but still if you need my help let me know () & I can free up some cycles… !! Thanks John | Quality Assurance, Contoso Corporation Perfection is the goal, excellence can be tolerated!!

  9. Deploy Destination: Testing Server Demo – 2 Team Build Packaging

  10. Time: Project Kick Off + four weeks Hi Bill & John,                 I hate to put more work on you but having deployment package with developer settings in Web.config file is prone to error, can you possibly put Staging configuration in TeleFun.zip package?                 Also one more quick point, although IIS Manager UI is really cool I would like to be able to automate certain steps when I am setting up a fresh VM for Staging.  Is there a way I can set up the package from command line? Thanks in advance,   Alex | Contoso Corp.

  11. Deploy Destination: Staging Server Demo – 3 Customizing for Staging

  12. Time: Project Kick Off + six weeks Hi Bill & John,                 As you know, once we go live next week, we won’t be able to delete the DB anymore.  Have you guys tried out the Visual Studio Database Projects for differential DB deployment.  Can you quickly verify that your web packages can take differential scripts? Thanks in advance,   Alex | Contoso Corp.

  13. Deploy Destination: Testing Server Demo – 4 Database Projects + One Click Publish

  14. Today's Screenplay Deploy the Demo App Set up a nightly Build + Package Customize it per Environment Differential Data + One Click Publish Web Packages Including DB Including IIS Settings Import/Export Package Site/Server Packages Web Farm Configuring Build Definitions Setting up nightly builds Solution File vs Project File builds /p:DeployOnBuild & /p:DeployTarget= MsDeployPublish Web.Config Transforms Transforming custom XMLs Deploy.cmd & SetParameters.xml Integrating with Database Projects One Click Publish

  15. Premier Invitation... announcing Free VS 2010 One Click Publish Hosting Accounts…

  16. FREE ASP.NET 4 & MS Deploy Hosting • http://bit.ly/DiscountASP • http://bit.ly/OrcsWeb • http://bit.ly/MaximumASP • http://bit.ly/AppliedInnovations

  17. question & answer

  18. YOUR FEEDBACK IS IMPORTANT TO US! Please fill out session evaluation forms online at MicrosoftPDC.com

  19. Learn More On Channel 9 • Expand your PDC experience through Channel 9 • Explore videos, hands-on labs, sample code and demos through the new Channel 9 training courses channel9.msdn.com/learn Built by Developers for Developers….

  20. Alternate Ending…

  21. Web Deployment Story - Today Copy Web Publish Web Dev Box Server Web Application

  22. Web Config Transformation (Staging Ready) Web.Staging.Config Outputted to OBJ\staging folder of your project XML Transformation Engine

  23. Transformation Concepts (Staging Ready) Web.Staging.Config XML Transformation Engine

  24. Web Deployment w/ VS10 Dev Environment Server Environment MS DEPLOY

  25. Data Flow Diagram Dev Box Pckg Install Command Pckg Install Command Local Server

  26. Dev Box Other Providers IIS Provider Engine DB Provider Custom Asset Web Content Provider Your custom Provider Vishal R Joshi

  27. Web Server Other Providers IIS Provider Engine DB Provider Custom Asset Web Content Provider Your custom Provider Vishal R Joshi

  28. Schema • Custom Scripts • Data DB Deployment

  29. Data Flow Diagram Dev Box Remote Server Pckg Install Command Pckg Install Command Local Server

  30. Web Publishing Pipeline (WPP)

  31. Build • Collection: • O/P Binaries + PDBs • Collection: • References • Collection: • Content Web Publishing Pipeline (WPP) • Transformation: • Merge • Transformation: • Pre-Compile • Transformation: • Exclude Files • Transformation: Web.Config • Output: • FTP, FS, MSDeploy, HTTP • MSDeploy: • GAC, COM, Registry • MSDeploy: • IIS Settings, Certificates • MSDeploy: • DB (Data, Schema, Scripts) • MSDeploy: • Publish • MSDeploy: • Package • MSDeploy: • Create Manifest

More Related