web deploy

29
WebDeploy

Upload: sky-sigal

Post on 29-Aug-2014

1.050 views

Category:

Technology


5 download

DESCRIPTION

A presentation on what WebDeploy is, how to configure it, to ease your next deployment.

TRANSCRIPT

Page 1: Web deploy

WebDeploy

Page 2: Web deploy

What is WebDeploy?

The one-click webapp deployment solutionThe one few-click webapp deployment solution

Page 3: Web deploy

The Players

Page 4: Web deploy

On the Server...

Page 5: Web deploy

HTTP://WWW.IIS.NET/

Download / Install on IIS

Page 6: Web deploy

Install on IIS (take 2)

dism /online /enable-feature /featurename:IIS-WebServerRoledism /online /enable-feature /featurename:IIS-WebServerManagementToolsdism /online /enable-feature /featurename:IIS-ManagementServiceReg Add HKLM\Software\Microsoft\WebManagement\Server /V EnableRemoteManagement /T REG_DWORD /D 1net start wmsvcsc config wmsvc start= auto

http://forums.iis.net/t/1171432.aspx

Installed to: %programfiles%\IIS\Microsoft Web

Deploy

http://technet.microsoft.com/en-us/library/dd569059(WS.10).aspx

Page 7: Web deploy

New IIS functionality...

Page 8: Web deploy

New Services…//Stop the Services• net stop msdepsvc• net stop WMSvc

//Change the Service Start Mode from Manual to Auto• sc config msdepsvc start=auto• Sc config wmsvc start=auto

//Restart the Services• net start msdepsvc• net start wmsvc

Page 9: Web deploy

Check whether svc listening...SET %PATH%=%PATH + ‘c:\Program Files\IIS\Microsoft Web Deploy’msdeploy -verbose -debug -verb:dump -source:apphostconfig,wmsvc=xacts0 ,authtype=Basic ,userName=XACT\Sky ,password=passw0rd

Page 10: Web deploy

Back at the ranch...

...on your trusty dev station...

Page 11: Web deploy

Create a WebSite to Deploy

Page 12: Web deploy

Web.Config Transformations

http://msdn.microsoft.com/en-us/library/dd465326.aspx

MSBuild {ProjName}.csproj /t:TransformWebConfig /p:Configuration=Release

Page 13: Web deploy

Package the website

Page 14: Web deploy

The Resulting Package

Page 15: Web deploy

...Back at the Server...

Page 16: Web deploy

Import Package into IIS

Page 17: Web deploy

The Installed Website

Page 18: Web deploy

...back at your dev station...

Page 19: Web deploy

Installing Remotely

Page 20: Web deploy

How the heck did it get thru?!

Page 21: Web deploy

Setting up Permissions

Page 22: Web deploy

Observations (Q1 2011)

Benefits: Continuous Integration “The Future” (Built in, etc.)

Considerations: OOTB, only available to WebSites Requires asking for IIS configuration… Can’t do configSource=“…” WCT done at Package Time, not Install Time

Page 23: Web deploy

Do I need Visual Studio?

http://ctt.codeplex.com/configSource = #@!!!

Page 24: Web deploy

configSource = deal breaker?

http://bit.ly/ekVVdK

Page 25: Web deploy

So: your next deployment…

Page 26: Web deploy

Links

Google.

Page 27: Web deploy
Page 28: Web deploy

WebDeploy on IIS 6 ??

A little research helps: How do I setup WebDeploy on Windows

2003 / IIS6? - Stack Overflow http://bit.ly/eYHj6j

Page 29: Web deploy