Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

msdeploy --- does it work or does it suck?

I make frequent and small ASP.NET/C# application changes, and so need a mechanism to deploy these changes with the least trouble to my server. I understood that msdeploy was to do the trick, but I find it completely troublesome. After a week I still can't get it to work (against an EC2 server) and I believe that the error responses are next to useless. Does anyone actually use this tool? Any alternatives that work... less crappily?

like image 624
ErroringOut Avatar asked Dec 10 '10 21:12

ErroringOut


People also ask

How do I know if MSDeploy 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.

What is Webdeploy used for?

Overview. The Web Deploy is a tool for simplifying migration, management and deployment of Web applications, sites and servers. It can be used to package a Web site, automatically including content, configuration, certificates and databases. It can be used to synchronize between IIS 6.0, IIS 7.

Is Webdeploy secure?

Web Deploy is secure. Web Deploy supports transfer over HTTPS. Note that variants of FTP such as SFTP and FTPS are also secure.

How do I run MSDeploy EXE?

Go to C:\Windows\System32 and right click on CMD. EXE. Choose “Run as Administrator”. Once the command prompt is up, you will navigate to the folder level where MSDeploy.exe exists.


1 Answers

This may seem the most obvious but why not just use the built in publish feature of Visual Studio. The VS2010 version has a new feature call web.config trasnsformations that allow you to set up different web.config files for dev, test and prod or anything else you want to call the deployment. When I publish I pick the type of build such as Debug or Release which picks the correct web.config, right click the project and click publish. Pick the server or ftp location and publish. It is very simple.

Am I missing something in your question?

like image 87
RJ. Avatar answered Sep 25 '22 16:09

RJ.