We will learn to publish/deploy asp.net mvc website using visual studio and different types of deployment methods in asp.net mvc like web deploy, web deploy package, file transfer protocol (FTP), File system, and front-page server extension with example.
Publishing or deploy the project in Asp.Net MVC is the same as we were doing in ASP.NET Webforms, and if we are using visual studio version 2012 or more, we have a new concept called “One-Click Publish” to deploy/publish websites easily.
One-Click Publish has some automated tasks that help us deploy the 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 settings, it will be deployed to the server 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, we need to create a .zip package in our local PC for the application folder we need to deploy and then use this package to deploy using the CMD command prompt mail this package to the admin team to deploy. For more details related to the 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 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, all the files will publish to a 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 (FrontPage Server Extensions) is a widely-used tool in website-hosting environments.