Presentation is loading. Please wait.

Presentation is loading. Please wait.

Web Deployment with Visual Studio

Similar presentations


Presentation on theme: "Web Deployment with Visual Studio"— Presentation transcript:

1 Web Deployment with Visual Studio
Madhur Joshi Development Lead Phone:

2 What is WebDeploy? NET 2.0/4.0 based core APIs
MSDeploy.exe wrapped around APIs Service End-points for Remote deployment (Or Not) Extensible Provider Model Config + Content + Data Sync/Migrate

3 DEMO What can WebDeploy do? Madhur Joshi Development Lead Web Platform and Tools

4 Visual Studio Deployment
Pull on Source (Dev Box/Build Server) Push on Destination (Web Server) Package/Archive MSBuild based

5 Config + Content + Data IIS Settings Deployed with Web
DB Deployed using SQL Management Objects (SMO) Can script both Schema & Data Can generate Drop table scripts No Incremental DB Deployment

6 Online Publishing AKA Continuous Integration
Source --> Destination (over network) IIS6 - Remote Agent (Requires Admin) IIS7 - WMSVC (Non-Admin Delegation) IIS6/IIS7 - InProc (uses APIs for localhost)

7 DEMO Publish your application Madhur Joshi Development Lead Web Platform and Tools

8 Offline Packaging Source --> Zip --> Destination
Use when you don't have access to server Zip your files, IIS Settings, Configuration, DB etc VS 2010 generates Deploy.cmd for installation Supports WhatIf Analysis Works on IIS6, IIS7 and IIS 7.5

9 Parameterization Applies at Install time (not build time)
Declare using Parameters.xml (build time) Set using SetParameters.xml (install time) Change web.config settings with it (debug=true/false) Change your connection string with it (dev server becomes production server)

10 DEMO Zip and parameterize your application Madhur Joshi Development Lead Web Platform and Tools

11 Team Build Integration
Supports both Packaging/Publishing /p:DeployOnBuild=True /p:DeployTarget=MsDeployPublish/Package /p:MsDeployPublishMethod=InProc/WMSVC/RemoteAgent /p:CreatePackageOnPublish=True

12 More Info Mother of all Links (courtesy Vishal Joshi) IIS.NET Download
IIS.NET Download MSDN Documentation TechNet Documentation

13 © 2011 Microsoft Corporation. All rights reserved
© 2011 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.


Download ppt "Web Deployment with Visual Studio"

Similar presentations


Ads by Google