Publishing an application
The last essential step for making an application usable outside the developer machine is publishing. There are two kinds of deployment: framework-dependent and self-contained.
Framework-dependent deployment (FDD) creates a folder with all the required binaries needed to run the application on any computer with the same OS and the .NET runtime installed. FDD deployment has several advantages:
- It lowers the size of the deployment folder.
- It makes the security updates easy to install by an IT manager instead of the need to redeploy them.
- When deploying in Docker containers, you can start from pre-built images already containing the .NET runtime for the version you need.
The other publishing option is self-contained deployment (SCD), which creates/copies all the required files to run the application, including the runtime and all the base class libraries. The main advantage of SCD is that it gets rid of any requirements on the...