Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between Publish methods provided in the Visual Studio?

Tags:

When I click on the Publish method following options show up: Publish Methods

What is the significance of each method?

like image 883
tRuEsAtM Avatar asked Mar 07 '17 22:03

tRuEsAtM


People also ask

What does publishing do in Visual Studio?

Publishing creates the set of files that are needed to run your application. To deploy the files, copy them to the target machine.

What is the difference between build and publish in Visual Studio?

Build compiles the source code into a (hopefully) runnable application. Publish takes the results of the build, along with any needed third-party libraries and puts it somewhere for other people to run it.

What is difference between publishing deployment?

Deployment: It is a process of deploying the pre compiled dll's to the IIS server. Publish: It is a process of creating precompiled dll's. Web Hosting: It is similar to the process of deployment of a website. Deployment: It is a process of deploying the pre compiled dll's to the IIS server.

How do I get publish option in Visual Studio?

On the computer where you have the ASP.NET project open in Visual Studio, right-click the project in Solution Explorer, and choose Publish. If you have previously configured any publishing profiles, the Publish pane appears. Click New or Create new profile. Select the option to import a profile.


1 Answers

  1. Web Deploy - If you have IIS on server machine running and configured to receive Web Deploy requests, it will send all requested by IIS files. IIS will immediately start running new web page.
  2. Web Deploy Package - If you have IIS on server machine running and configured to receive a Web Deploy Package it will pack your whole web page, and will upload them to server machine. IIS will immediately start running new web page.
  3. FTP will upload files to FTP server (can be any OS that handles FTP), but be aware that this is NOT safe and whole upload process can be captured and compromised.
  4. File system will deploy all items required for launching a web service, with any method supported by current project configuration, into provided directory on your machine.
like image 110
Tomasz Juszczak Avatar answered Oct 26 '22 08:10

Tomasz Juszczak