0

https://docs.microsoft.com/en-us/dotnet/core/tutorials/publishing-with-visual-studio

In Create a Hello World application with .NET Core in Visual Studio, you built a Hello World console application. In Debug your Hello World application with Visual Studio, you tested it using the Visual Studio debugger. Now that you're sure that it works as expected, you can publish it so that other users can run it. Publishing creates the set of files that are needed to run your application. To deploy the files, copy them to the target machine.

What do publishing and deployment mean?

  • Is it correct that deployment means that after building/compiling programs in development machines, and packaging, copy the package to the production machine?

  • Is it correct that deployment does not include building and packaging?

  • Does publishing mean building/compiling programs and packaging on development machines? (I was once asked to "publish" (or "deploy", I forget which word) created by others. It was actually to click a few buttons (I forgot which) in Visual Studio IDE, maybe related to the web server, but all this was done on a development machine. It seemed to me to build and package the program.)

  • Does publishing not include deployment?

  • Do publishing and deployment mean the same?

    The above quote seems to say no.

    But Publish .NET Core apps with the CLI being a subsection of .NET Core application deployment seems to say yes.

    Literally doesn't publishing mean move something to a publicly accessible place? Isn't that the same as deployment?

Are the two words standard (or generally used) in software engineering, including outside dotnet e.g. Java, C++, Python, ...? What other standard or popular words that are used instead, if any?

Thanks.

12
  • 1
    What exactly is unclear from their description "Publishing _creates the set of files that are needed to run your application. To deploy the files, copy them to the target machine."_ (emphasis mine)? These terms are widely used. Think about stuff published via GitHub, where a wide varitey of programming languages and software ecosystems are used. Jan 4, 2020 at 12:39
  • @πάνταῥεῖ Maybe clear to you. But please read my post. I have changed it.
    – Tim
    Jan 4, 2020 at 12:41
  • Literally doesn't publishing mean move something to a publicly accessible place? Isn't that the same as deployment?
    – Tim
    Jan 4, 2020 at 12:57
  • No, delpoyment is literally to "copy them to the target machine", where target machine is the machine where the application is meant to run at. No matter if this is a web server, a desktop computer or a mobile phone. Jan 4, 2020 at 13:02
  • 2
    Publishing a book: I put it on a shelf in the bookstore. Deploying the book: You buy the book from the bookstore and start reading.
    – gnasher729
    Jan 4, 2020 at 13:32

1 Answer 1

2
  • Do publishing and deployment mean the same?

No, these terms definitely don't mean the same.

Copying files to a target machine appears in different context and purpose:

Publishing creates the set of files that are needed to run your application

you copy these to a machine where they can be publicly accessed from

vs.

To deploy the files, copy them to the target machine.

you copy these to a machine where you intend to run the application.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.