Publishing and file copy
The easiest way to deploy an application is to use Visual Studio’s Publish mechanism. Let’s assume I have a simple console application. I don’t have any configuration settings that I need to change when running on a production environment. So, I can just copy what I have.
Let’s assume we have a simple console application. You’ve tested it, and you’re ready to deliver. There are two options: use Visual Studio or use the CLI.
Publish using Visual Studio
In Visual Studio, in the Solution Explorer area, right-click on your project and select Publish. You’ll see the following dialog:
Figure 13.1: Publishing via Visual Studio
There are a couple of options to choose from:
- Azure: This means deploying your system to Azure so that it runs there.
- ClickOnce: ClickOnce is a technique for building a simple installer. Updates and uninstallation are part of the mechanism. However...