330 likes | 450 Views
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,
E N D
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, 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)
Cast of Characters QA IT Admin Developer Business Analyst John Bill Kim Alex Demanding & Detached Productive & Knowledgeable Methodical & Conscious Through & Detailed
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
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
Deploy Environment: Demo/Debug Server Demo – 1 Get the App Deployed
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!!
Deploy Destination: Testing Server Demo – 2 Team Build Packaging
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.
Deploy Destination: Staging Server Demo – 3 Customizing for Staging
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.
Deploy Destination: Testing Server Demo – 4 Database Projects + One Click Publish
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
Premier Invitation... announcing Free VS 2010 One Click Publish Hosting Accounts…
FREE ASP.NET 4 & MS Deploy Hosting • http://bit.ly/DiscountASP • http://bit.ly/OrcsWeb • http://bit.ly/MaximumASP • http://bit.ly/AppliedInnovations
YOUR FEEDBACK IS IMPORTANT TO US! Please fill out session evaluation forms online at MicrosoftPDC.com
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….
Web Deployment Story - Today Copy Web Publish Web Dev Box Server Web Application
Web Config Transformation (Staging Ready) Web.Staging.Config Outputted to OBJ\staging folder of your project XML Transformation Engine
Transformation Concepts (Staging Ready) Web.Staging.Config XML Transformation Engine
Web Deployment w/ VS10 Dev Environment Server Environment MS DEPLOY
Data Flow Diagram Dev Box Pckg Install Command Pckg Install Command Local Server
Dev Box Other Providers IIS Provider Engine DB Provider Custom Asset Web Content Provider Your custom Provider Vishal R Joshi
Web Server Other Providers IIS Provider Engine DB Provider Custom Asset Web Content Provider Your custom Provider Vishal R Joshi
Schema • Custom Scripts • Data DB Deployment
Data Flow Diagram Dev Box Remote Server Pckg Install Command Pckg Install Command Local Server
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