Publishing/deploying ASP.NET web sites is easier and more efficient with Microsoft’s deployment tool, called Web Deploy. I will be showing how to publish and deploy a web site step by step.
What you will use is:
- Visual Studio (the tool in which you develop your web site)
- Web Deploy (the tool that installs necessary components)
- IIS (the tool that publishes your web site )
End-to-end steps:
- In Visual Studio, Go to “Build > Publish projectname“. In the wizard, configure the settings:
- In the computer that you will publish your web site on IIS, download and install Web Deploy: http://www.iis.net/downloads/microsoft/web-deploy
- Open IIS:
Yes, that’s all!
Note: If you get an error saying that some dll files are missing (example error message is below), find those files in the computer you use for developing and copy them under C:\inetpub\wwwroot\websitename\applicationname\bin

1 thought on “Publishing ASP.NET web site in Visual Studio and deploying it in IIS”