http://bit.ly/vijoshi @vishalrjoshi . VS 2010 + MS Deploy Demanding & Detached Productive & Knowledgeable Through & Detailed Methodical & Conscious BA • Gets a cool idea on Team Building App... • May invite people to see the cool app anytime !! Developer • App always works on this person’s box • Is fast, smart & loves to code… QA • Finds bugs in Dev’s impeccable code !! • Is always in a rush to see pet bugs fixed… IT Admin • Holds the key to kingdom (aka staging, prod) • Wants to know about the anatomy of the App Debug Production Pre-Prod Testing Staging 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 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!! 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. 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. 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 announcing VS 2010 One Click Publish http://bit.ly/DiscountASP http://bit.ly/OrcsWeb http://bit.ly/MaximumASP http://bit.ly/AppliedInnovations question & answer > > channel9.msdn.com/learn Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. Alternate Ending… Copy Web Publish Web Web Application Dev Box Server XML Transformation Engine (Staging Ready) Outputted to OBJ\staging folder of your project Web.Staging.Config XML Transformation Engine Web.Staging.Config (Staging Ready) Dev Environment MS DEPLOY Server Environment Dev Box Local Server Pckg Install Command Dev Box IIS Provider DB Provider Engine Web Content Provider Other Providers Custom Asset Your custom Provider Vishal R Joshi Web Server IIS Provider DB Provider Engine Web Content Provider Other Providers Custom Asset Your custom Provider Vishal R Joshi Schema Data Custom Scripts Dev Box Pckg Install Command Remote Server Local Server Collection Transformation Output • Collects Required Files for packaging/publishing • Changes your app to make it server ready • Outputs your web to desired location e.g. FTP, File System, MSDeploy Collection: Build O/P Binaries + PDBs Collection: References Collection: Content Transformation: Transformation: Transformation: Transformation: Merge Pre-Compile Exclude Files 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 Web.Config