Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure Web Deploy on Windows 10 pro

How can I configure Web Deploy on Windows 10? Should it work? I found information about Web Deploy on Windows 8, there it isn't working. How is it in Windows 10?

like image 209
BWA Avatar asked Oct 23 '15 21:10

BWA


People also ask

How do I know if Microsoft web Deploy is installed?

Is Web Deploy installed? You can verify web deploy is installed by going to the "Programs and Features" control panel and looking for "Microsoft Web Deploy 2.0" in the list of installed programs. If it is not there, you can install it via the Web Platform Installer by going to the "Products" tab.

How do I enable web management services?

In the center pane, under Management, double-click Management Service. In the center pane, select Enable remote connections. If the Web Management Service is already running, you'll need to stop it first. In the Actions pane, click Start to start the Web Management Service.


2 Answers

Microsoft is being super sneaky about this, but it appears they have removed the ability to use web deploy remotely from ALL non server os's. Even in Windows 7, if you do all of the newest updates, the deploy menu vanishes in IIS. So if you want to use web deploy it seems like your only option is to shell out some bucks for a server os.

HOWEVER, I was able to get FTP publishing configured and working on my Windows 10 machine, which works almost as well. Just install the FTP server under control panel => programs and settings => install windows components. Then open iis mgr and right click on your site and a configure FTP publishing option should pop up. The configuration is a pain and not straightforward, but if you mess with it you'll figure it out.

Then in Visual Studio right click on your project, hit publish, then in the first screen in the drop down there is the good old fashioned ftp option. Good luck!

EDIT

From OP's response, another solution is to simply share the root folder on the server, so for example

C:/inetpub/www

Then mount that share on your development box, I mounted it as the P:\ drive for production, and Q:\ drive for qa. Then in visual studio on the publish screen just select deploy to file system and deploy to that mapped drive, works like a charm and is far simpler than setting up FTP.

like image 187
Joshua Lawrence Austill Avatar answered Oct 09 '22 00:10

Joshua Lawrence Austill


Ok, I did this (in Windows 10):

  1. Uninstalled Web Deploy 3.6 from control panel(didn't help).
  2. Downloaded Web Deploy 3.6 installer, then ran uninstall from the installation menu.
  3. Downloaded Microsoft Web Platform Installer 5.0.
  4. From the Web Platform Installer 5.0, I installed Web Deploy 3.5 + Web Deploy 3.5 without bundled SQL Support
  5. I seem to have the deploy context menu back when I right click a site.
like image 32
Mofolo Avatar answered Oct 09 '22 01:10

Mofolo