Here we will learn publish / deploy asp.net mvc website using visual studio and different types of deployment methods in asp.net mvc like web deploy, web delopy package, file transfer protocol (FTP), File system and front page server extension with example.
Publishing or deploy project in Asp.Net MVC is same as we were doing in ASP.NET Webforms and if we are using visual studio version 2012 or more we have new concept called “One-Click Publish” to deploy / publish websites easily.
One-Click Publish has some automated tasks that help us to do deployment of application easily in different ways.
Here we will learn various ways of Application Publishing and deployment methods in asp.net mvc with examples.
Web Deploy - If we select this method and enter all setting it will get deployed to server where we specified to deploy. For more details, related to web deploy check this Web Deploy in Asp.Net MVC.
Web Deploy Package - If we select this method then we need to create a .zip package in our local PC for application folder which we need to deploy and then use this package to deploy using CMD command prompt or you can mail this package to admin team to deploy. For more details, related to web deploy package check this Web Deploy Package in Asp.Net MVC.
File Transfer Protocol (FTP) - If we select this method we need to enter all required credentials and it will upload straight to our ftp hosting space. For more details, check this FTP Deployment in Asp.Net MVC.
File System - If we select this method then all the files will publish to given target location of our computer which we choose then we can copy that files to IIS or mail this files to admin team to deploy. For more details, related to file system check this File System Deploy in Asp.Net MVC.
Front Page Server Extensions (FPSE) - FPSE (Front Page Server Extensions) are a widely-used tool in website-hosting environments.