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?
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.
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.
Web Deploy is secure. Web Deploy supports transfer over HTTPS. Note that variants of FTP such as SFTP and FTPS are also secure.
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.
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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With